Embedding video for Chrome without NPAPI support -


im building site video stream mp4/m4v files on server.

i having trouble making work in chrome 47, evidently due lack of npapi support.

here variations of code have tried , results:

<video controls>      <param name="video" value="true" />     <source src="app/files/s1e1.m4v" type="video/mp4">     <source src="app/files/s1e1.m4v" type="video/ogg">     browser not support video tag. </video> 

result: javascript error frame message reading "this plugin not supported"

<object width="100%" height="360">     <param name="movie" value="app/files/s1e1.m4v"/     <param name="allowfullscreen" value="true"/>     <param name="allowscriptaccess" value="always"/>     <embed width="100%" height="360" src="app/files/s1e1.m4v" class="youtube-player" type="text/html" allowscriptaccess="always" allowfullscreen="true"/> </object> 

result: player renders , seems load file evidenced correct video length being displayed in player, video not play when hit play button.

either method works in safari.

which method best cross-browser support?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -