Unrecognized video format on Safari - no video

  • 1
  • Question
  • Updated 1 year ago
For my youtube video different browsers work fine except Safari which shows static with: 



Clicking on the link, it says the YouTube HTML5 Video Player supports HTML Video Element, H264, WebM VP8, Media Source Extensions. MSE & H 264, MSE & WebMVP9 (https://www.youtube.com/html5).  I do not know all these but they do seem to be issues with the HTML, the error says the video format is not recognized implicating the MP4 format.

I host my video in my web page using some code I found on YouTube.
        <div class="embed-container">
          <iframe width="560" height="315" src="https://www.youtube.com/embed/SpUR0FMYmJI"; frameborder="0" allowfullscreen style="border:none;"></iframe>
        </div>

The attributes frameborder and allowfullscreen both give validation errors in Visual Studio.

I think the problem is the MP4 since putting the youtube Url in Safari shows the same page.  It surprises me that sharing to YouTube in Camtasia does not just work for Safari. This is my first video, I am using Camtasia 9.1.0 on Windows 10.

What do I need to do to get videos to work everywhere including Safari?

George
Photo of George Stretton

George Stretton

  • 4 Posts
  • 0 Reply Likes
  • anxious

Posted 1 year ago

  • 1
Photo of Dave O'Rourke

Dave O'Rourke, Senior Software Engineer

  • 1423 Posts
  • 377 Reply Likes
Hi George,

Once you upload the video from Camtasia to YouTube, your video is transcoded into various sizes and formats by YouTube.  When you view a video, YouTube serves up the size and format appropriate for the device you are viewing it on.  So the video you see on YouTube is not the same video you uploaded.  The only thing Camtasia is providing to YouTube is a high quality source video.  From there, everything you see is controlled on the YouTube side, including the embed code.  So there's nothing we can change in Camtasia that would affect the embed code or video coming from YouTube.  The fix needs to come from them.

I searched to see if this was a known issue, and got a few hits:
https://www.google.com/search?q=youtube+embed+code+not+working+in+safari

These 2 StackOverflow posts had some suggestions that looked promising.
https://stackoverflow.com/questions/42901655/embedding-youtube-videos-on-safari-not-working
https://stackoverflow.com/questions/21890682/youtube-embed-iframe-not-showing-in-safari

That's as far as I can get with it.  If those suggestions don't work, you may need to get help directly from YouTube.
Photo of George Stretton

George Stretton

  • 4 Posts
  • 0 Reply Likes
I think the answer is that Safari does work very well on Windows 10.   No youtube video will play and Safari cannot access Safari extensions.  I will need to find someone with a Mac to see if it works on Safari.  It probably does considering all other YouTube videos look the same on my Windows Safari.

Thank-you for the help.
Photo of Glenn Hoeppner

Glenn Hoeppner, Employee

  • 1758 Posts
  • 288 Reply Likes
Hi George,

Apple stopped supporting Safari on Windows years ago. I think version 5 was the last supported, and they're up to version 11 now. 

That being said, I tried your video on my Mac and it doesn't work for me either. Like Dave said above, this is a YouTube problem, I would reach out to them. It's not unique to you either.

I've seen this with a YouTuber that I watch myself. This video is over 40 minutes, but on Safari and on my Roku it only shows up as 5m36s.

-Glenn