Note that there are some explanatory texts on larger screens.

plurals
  1. POLoad video in same HTML page
    primarykey
    data
    text
    <p>I want to load videos in the same HTML page. The video is already working and linked to a button, but the video is opening itself in a new page. Do I miss some code?</p> <p>Code:</p> <pre><code>&lt;div id="van_ons"&gt;&lt;li&gt;&lt;a href="onderdelen/movies/santa.mov"&gt;&lt;img src="knoppen/van_ons.png" /&gt;&lt;img src="knoppen/van-ons.png" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/div&gt; </code></pre> <p>Player &amp; buttons code:</p> <pre><code>&lt;div id="container"&gt; &lt;div id="buttons"&gt; &lt;ul&gt; &lt;div id="van_ons"&gt;&lt;li&gt;&lt;a href="onderdelen/movies/santa.mov" target="_self"&gt;&lt;img src="knoppen/van-ons.png" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/div&gt; &lt;div id="krijg_je"&gt;&lt;li&gt;&lt;a href="onderdelen/movies/santa.mov"&gt;&lt;img src="knoppen/krijgje.png" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/div&gt; &lt;div id="iig"&gt;&lt;li&gt;&lt;a href="onderdelen/movies/santa.mov"&gt;&lt;img src="knoppen/iniedergeval.png" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/div&gt; &lt;div id="een_witte_kerst"&gt;&lt;li&gt;&lt;a href="onderdelen/movies/santa.mov"&gt;&lt;img src="knoppen/eenwittekerst.png" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/div&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div id="achtergrond"&gt; &lt;!-- Begin VideoJS --&gt; &lt;div class="video-js-box"&gt; &lt;!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody --&gt; &lt;video class="video-js" width="500" height="400" controls preload poster="http://video-js.zencoder.com/oceans-clip.png"&gt; &lt;!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. --&gt; &lt;param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" /&gt; &lt;param name="allowfullscreen" value="true" /&gt; &lt;param name="flashvars" value='config={"playlist":["http://video-js.zencoder.com/oceans-clip.png", {"url": "http://video-js.zencoder.com/oceans-clip.mp4","autoPlay":false,"autoBuffering":true}]}' /&gt; &lt;!-- Image Fallback. Typically the same as the poster image. --&gt; &lt;img src="http://video-js.zencoder.com/oceans-clip.png" width="400" height="500" alt="Poster Image" title="No video playback capabilities." /&gt; &lt;/object&gt; &lt;/div&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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