How to include OGV and WEBM files in your output?

  • 2
  • Question
  • Updated 2 months ago
*excuse my HTML ignorance here...

I understand that Camtasia generates a .mp4 video of my project, and that it's referenced in the *_player.html with the line;

TSC.playerConfiguration.addMediaSrc("filename.mp4");



However, how can I have the video fallback to other formats, such as .ogv or .webm, to account for other devices/OSes/browsers/things?

For example, if I wanted to deploy my video without using the Camtasia html 'wrapper, I'd write something like;

<video>
  <source src="media/demo.mp4" type="video/mp4">
  <source src="media/demo.ogv" type="video/ogg">
  <source src="media/demo.webm" type="video/webm">
  
</video>

Is it possible to do this within the player.html?
Photo of TinRobot

TinRobot

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 2
Photo of Glass442

Glass442

  • 26 Posts
  • 2 Reply Likes
If camtasia doesent have the file format u want try using a fils converter. MACS SUXK
Photo of TinRobot

TinRobot

  • 2 Posts
  • 0 Reply Likes
Thanks, but I'm not trying to convert the video file - I already have multiple formats of the video. I'm trying to provide all of these formats to the web site, so that the camtasia wrapper will select and play the appropriate format, depending on what the user's system prefers.
Photo of growmore

growmore

  • 2 Posts
  • 0 Reply Likes
If you have the need for ogv or webm video format. you may convert your exported videos files to that format with the help of iDealshare VideoGo.
Here is the step by step guide: https://www.idealshare.net/video-converter/mp4-to-ogv-converter-mac-windows.html

Photo of Dave O'Rourke

Dave O'Rourke, Senior Software Engineer

  • 1444 Posts
  • 416 Reply Likes
Sorry, we don't currently support ogg or webm with the player that comes with Camtasia Studio.

Are you sure you need those other formats? MP4 should be all you need. Camtasia Studio produces MP4 videos with H.264 video and AAC audio. This format is pretty much supported across the board these days, on desktop, tablet, and mobile. You should have excellent playback compatibility with the files that come out of Camtasia Studio.

Here's some 3rd party references that talk about which video formats are supported across different browsers:
https://developer.mozilla.org/en-US/d...
http://www.w3schools.com/html/html5_v...

Hope this helps.