jquery - Html5 video toggle fullscreen lost filename and display poster -
I'm trying to "play" with html5 video balance and I find it difficult to toggle fullscreen Want to The Src file name is full of JQuery and is running fine, but when I click on the fullscreen, the poster is displayed on full screen and I have lost my video. Here's my code:
& lt; Html & gt; & Lt; Top & gt; & Lt; Meta charset = "UTF-8" /> & Lt; Link rel = "stylesheet" href = "web / css / jquery-ui.css" & gt; & Lt; Link rel = "stylesheet" href = "web / css / mp4.css" & gt; & Lt; Script src = "web / js / jquery-1.11.1.js" & gt; & Lt; / Script & gt; & Lt; Script src = "web / js / jquery-ui.js" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "video" & gt; & Lt; Video id = 'videoplayer' control = "control" poster = "web / picture / poster.jpg" width = "480" & gt; & Lt; Source id = "mp4Src" src = "" type = 'video / mp34' / & gt; Video HTML5 Navest Pass Support Pie Navigator & lt; / Video & gt; & Lt; / Div & gt; & Lt; Div id = "settlement" & gt; & Lt; H3 id = "h0" & gt; Jürgen Kuppen & lt; / H3 & gt; & Lt; Div & gt; & Lt; Table range = "0" width = "100%" selection = "0" square = "jamming" & gt; & Lt; TR & gt; & Lt; Td> Jürgen Coupens Jazz Arredion on Yamaha Tyros 4 & lt; / Td> & Lt; Td style = "display: none;" & Gt; Jurgen.mp4 & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Div & gt; & Lt; H3 id = "h1" & gt; Klaus Wonderilich & lt; / H3 & gt; & Lt; Div & gt; & Lt; Table range = "0" width = "100%" selection = "0" square = "jamming" & gt; & Lt; TR & gt; & Lt; Td> Klaus Wunderlich - Tico Tico & lt; / Td> & Lt; Td style = "display: none;" & Gt; Taco. MP4 & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; Br> & Lt; / Div & gt; & Lt; H3 id = "h2" & gt; Rhodia Scott & lt; / H3 & gt; & Lt; Div & gt; & Lt; Table range = "0" width = "100%" selection = "0" square = "jamming" & gt; & Lt; TR & gt; & Lt; Td> Roda Scott added La Taquataa at Fugue en RE Minaur de Jean Sebastian Bach & lt; / Td> & Lt; Td style = "display: none;" & Gt; Toccata.mp4 & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; Br> & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Script & gt; $ ("#accord") .cardian ({height style: "content", animate: wrong}} width ($ ('body'). Width () - 550); $ ("#accord h3") Click (function () {$ (this) .Parent (). ('Div') .removeClass ('UI-widget-content') .css ('max-height', ($ ('body'). () - 300) + 'px'; $ ('# ui-accordion-accord-panel-' + ($ (this) .attr ('id'). Substr (1 $ ('.prog tr.focus' '' '' Video player '') '' ('' video player ''). . (Playback);}); $ ('# equity div') .removeClass ('UI-widget-content'). CSS ('max height', ($ ('body'). Height () - 300) + 'Px'); $ (window). Resize (func) Width ($ ('$') Width ($ ('body'). Width () - 550); $ ('# accord div') .removeClass ('UI-widget (' max-height ', ($ ('Body'). Height () - 300) + 'PX'; $ ('# agreement H3: eq (0)'). Trigger ('click');}); document.getElementById (' VideoPlayer ') Load (). $ (' Table.prog tr ') (function () {$ (' tr.focus'). RemoveClass ('Focus'); Var player = document.getElementById ('videoplayer'); Player.volume = 1; Player (.); If ($ (this) .fund ('td: last'). Text (). Substr (-4) == '.mp4') {$ (this) .addClass ('focus'); $ ('# Mp4src'). Attr ('src', "ytb /" + $ (this) .Fund ('td: last'). Text ()); Player.load (); Player.play ();}}). Then (function () {if ($ (this) .find ('td: last'). Text (). Substr (-4) == '.mp4') {$ (this) .css ('cursor', 'Indicator');} and {$ (this). CSS ('cursor', 'default');}}, function () {}); $ ("# Videoplayer"). Bind ("end", function () {$ ('# MP3 SRC'). Ether ('src', ""); document.gate elementBiID ('videoplayer') .load (); document .getElementById ('videoplayer ') Play (); $ (' .cont.tr.focus'). RemoveClass ('Focus');}); & Lt; / Script & gt; & Lt; / Body & gt;
My goal is to click in the editions to see whether the videos are presented, and when I click on each line to launch the video line, I hope someone helps me Because I want to understand why he has not run. Many thanks in advance for your kind help.
Comments
Post a Comment