locked
Play the Video at the specified time using Object and Embed tag RRS feed

  • Question

  •  

    I have added two links in HTML. On clicking the first link, The video should start from '0' sec. And on clicking the second link, it should start from '10' seconds. Here is the code,

    <object id="MediaPlayer" width="500" height="320">
                                    <param name="FileName" value="AdminRenderedFull.mp4" />
                                    <param name="autostart" value="true" />
                                    <param name="ShowControls" value="true" />
                                    <param name="ShowStatusBar" value="true" />
                                    <param name="ShowDisplay" value="true" />


        <embed type="application/x-mplayer2" id="test" src="~/Content/create/Videos/AdminRenderedFull.mp4">
                                           width="500" height="320" showcontrols="1" showstatusbar="1" showdisplay="1" autostart="1"/> 

    </object>

    How can I play the video after 10 seconds using jquery code ? Is it possible?

    Monday, December 21, 2015 1:56 PM