Skip to main content
All CollectionsTroubleshooting
Troubleshooting: Why Isn’t My Video Showing on My Website?
Troubleshooting: Why Isn’t My Video Showing on My Website?

Figuring out why your video is not showing, or not displaying updates after publishing

Erika Lehmann avatar
Written by Erika Lehmann
Updated this week

This shouldn’t happen, but here’s what to check if it does.

If your video does not appear on your website after publishing, try publishing it again. This should resolve the issue and ensure your video starts playing instantly.


1. Check Your Embed Code

If your video is older and the embed code on your site hasn’t been updated in a long time, this may cause the issue.

How to Check Your Embed Code:

  1. Open the source code of your webpage and locate the embed code.

  2. Look for a reference to ‘vidalytics.js’ in the embed code.

  3. If this reference is present, your embed code is outdated.

Solution:

  • Replace the old embed code with the latest version from your Vidalytics dashboard.

  • Once updated, your video should play correctly.


2. Check Your Charset Settings

Your website should specify the correct charset via HTTP headers.

Ensure your page includes the following:

pgsqlCopyEditcontent-type: text/html; charset=UTF-8

Having the correct charset setting helps avoid display issues with embedded videos.


3. Did You Copy the Embed Code Before the Video Finished Transcoding?

If you copied the embed code before your video finished transcoding, a 404 error may have been cached by your browser.

What Happens?

  • Before transcoding is complete, the embed code may temporarily return a 404 error.

  • Once transcoding is done, the correct embed code is pushed to Vidalytics' CDN, but your browser may still cache the old 404 page.

Solution:

  • Wait until your video has fully transcoded before embedding it on your website.

  • If you’ve already placed the embed code, clear your browser cache to see the most up-to-date version of your page.


4. Avoid Embedding Videos in iFrames

Our video player does not work well inside iFrames.

Best Practice for Embedding:

  • Instead of using an iFrame, append the embed code dynamically to your page.

  • This can be done via AJAX or another method that injects the embed code after the page has loaded.


Still Not Seeing Your Video?

If you’ve followed all these steps and your video still isn’t appearing, contact our support team and we’ll help you get it resolved!

Did this answer your question?