Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Fix for enableing video player's seekbar on IE #399

Closed
NullpoEX opened this issue Dec 20, 2013 · 2 comments
Closed

Fix for enableing video player's seekbar on IE #399

NullpoEX opened this issue Dec 20, 2013 · 2 comments

Comments

@NullpoEX
Copy link

in default code. video player's seekbar does not work on IE.
lack of header ('ETag' nad 'Accept-Ranges:') causes this problem.
to enable seekbar on IE. add below statement to top of "index.php".

$stats = stat( $_SERVER['SCRIPT_FILENAME'] );
$etag = sprintf( '"%x-%x-%x"', $stats['ino'], $stats['size'], $stats['mtime'] );
header( "Accept-Ranges: bytes" );
header( 'ETag: ' . $etag );

refer to: http://blogs.msdn.com/b/ieinternals/archive/2011/06/03/send-an-etag-to-enable-http-206-file-download-resume-without-restarting.aspx

@cdujeu
Copy link
Member

cdujeu commented Jan 6, 2014

Interesting, but can you be more specific on the IE version, video format involved (post a video maybe?), etc...

Testing on IE11 + MP4, the seekbar is working for me.

@cdujeu
Copy link
Member

cdujeu commented Mar 4, 2014

not enough feedback

@cdujeu cdujeu closed this as completed Mar 4, 2014
This was referenced Nov 28, 2023
This was referenced May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants