Support Request: jwplayer.remove()

Description

How do I use jwplayer.remove()

Home / JavaScript API / How do I use jwplayer.remove()

I have a simple jwplayer script to play a video and want to remove it because after this video plays (or is ended by user), the player will not load on a subsequent attempt. Following is code (using WAMP server, IE11, jwplayer 6). The script works properly when running IE outside of SITEKIOSK.

iv id="mediaspaceturn">This text will be replaced</div>
<script type="text/javascript">
jwplayer("mediaspaceturn").setup({
file: "videos/63VietnamMemorialPatRing.mp4",
image: "m/videothmb/63VietMemPatRing.jpg",
duration: "22:35",
height: 400,
width: 600
});
jwplayer("mediaspaceturn").remove();
</script>

</div>

Answer: (2)

Re: jwplayer.remove() 3/2/2015 3:43 PM
Have you tested this with the most recent version of SiteKiosk (SiteKiosk 8.9.2821)? SiteKiosk 7.7 is not supported with IE11. If it also does not work with the current version of SiteKiosk, it is possible that this is not supported in the IE webbrowser control which SiteKiosk uses as the browser engine.
Re: jwplayer.remove() 3/2/2015 4:31 PM
You can close this. I've changed to using Windows Media Player which works fine. I will upgrade to Version 8 when I install new computers in the kiosks.

Thanks,

Gil Merkle
My Account
Login
Language (Tickets):