Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kaylarose/849357 to your computer and use it in GitHub Desktop.
Save kaylarose/849357 to your computer and use it in GitHub Desktop.
Reproduction of HTML5/Flash Fallback Streaming bug in Kaltura Player
<!DOCTYPE html>
<html>
<head>
<title>Simple video sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://html5.kaltura.org/js" ></script>
</head>
<body>
<video id="vid1" width="480" height="267" durationHint="02:32">
<source src="http://h264.code-shop.com:8080/trailer2.mp4" type="video/h264" durationHint="02:32" />
</video>
</body>
</html>
@kaylarose
Copy link
Author

Original Bug Report:
"Http Pseudo-streaming allows videos streamed via HTTP to accept special requests to immediately "Seek Ahead" to a certain point in a video and start playing/downloading from that spot. The HTML5 video interface supports seek-ahead/pseudo-streaming requests if you add the durationHint='XX:XX' attributes to your video tag.

However, when the player falls back to the Flash version, it seems the durationHint attribute is not adhered to, and the player acts like a regular progressive download player.

The Flash player should be enhance to act like the HTML5 player, and allow for seek ahead."

@kaylarose
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment