Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Ok, I had to find the answer myself. A similar question was addressed at <a href="https://stackoverflow.com/questions/2740156/how-do-i-play-just-a-specific-section-of-a-video-in-a-web-page">How do I play just a specific section of a video in a web page?</a> (but without giving specific examples). I found out that for flv types you can use flowplayer:</p> <p><a href="http://flowplayer.org/documentation/scripting.html" rel="nofollow noreferrer">http://flowplayer.org/documentation/scripting.html</a></p> <p>My minimal working example:</p> <pre><code> &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt; &lt;script type="text/javascript" src="flowplayer-3.2.4.min.js"&gt;&lt;/script&gt; &lt;title&gt;Minimal Flowplayer setup&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div style="display:block;width:520px;height:330px" id="player"&gt; &lt;/div&gt; &lt;/body&gt; &lt;script&gt; $f("player", "../flowplayer-3.2.5.swf", { clip: { url: "four_stroke.flv", autoPlay: true }, // you can seek to a certain place of a clip just after that place is already is buffered onStart:function() { this.seek(10); } }); &lt;/script&gt; &lt;/html&gt; </code></pre> <p>For quicktime movie types you can use quicktime plugin and set start or autoplay parameters to start a video clip at specified place like that:</p> <pre><code>&lt;PARAM Name="AUTOPLAY" Value="@00:03:15:01" &gt; </code></pre> <p>or</p> <pre><code>&lt;PARAM NAME="STARTTIME" VALUE="00:03:15:01" &gt; </code></pre> <p>more explanations at: <a href="http://developer.apple.com/library/mac/#documentation/QuickTime/Conceptual/QTScripting_HTML/QTScripting_HTML_Document/ScriptingHTML.html" rel="nofollow noreferrer">http://developer.apple.com/library/mac/#documentation/QuickTime/Conceptual/QTScripting_HTML/QTScripting_HTML_Document/ScriptingHTML.html</a></p> <p>Here is my code example that works in my FF3.6 and IE8 (put it in your HTML's body area):</p> <pre><code> &lt;OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" HEIGHT=650 WIDTH=1000 &gt; &lt;PARAM NAME="src" VALUE="ksetup.mov" &gt; &lt;PARAM NAME="STARTTIME" VALUE="00:03:00:00" &gt; &lt;PARAM NAME="AUTOPLAY" VALUE="false" &gt; &lt;EMBED SRC="ksetup.mov" HEIGHT=650 WIDTH=1000 TYPE="video/quicktime" BGCOLOR=#00ff00 AUTOPLAY="false" STARTTIME="00:03:00:00" PLUGINSPAGE="http://www.apple.com/quicktime/download/" /&gt; &lt;/OBJECT&gt; </code></pre> <p>Hope this will put someone on track.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload