Foros de discusión

JWPLAYER NOT WORKING...

thumbnail
Bhavik Kama, modificado hace 11 años.

JWPLAYER NOT WORKING...

Junior Member Mensajes: 55 Fecha de incorporación: 24/09/12 Mensajes recientes
Hi,

I cant make it play the video of embed url with the jwplayer

in my view file i am implmenting the jwlayer with follwoing

 <script type="text/javascript">
jwplayer("container").setup({
flashplayer: "/js/player.swf"
});
</script>
    



<video src="<%=vid_url %>" height="270" id="container" poster="/thumbs/image.jpg" width="480">
</video>

this is how am inlucding jwplayer.js file
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jwplayer/jwplayer.js"></script>

but its now working...any thing am doing wrong?

here <%= vid_url%> is coming dynamically from database that is embeded url
thumbnail
Vitaliy Koshelenko, modificado hace 11 años.

RE: JWPLAYER NOT WORKING...

Expert Mensajes: 319 Fecha de incorporación: 25/03/11 Mensajes recientes
Hi, Bhravik.

As I know, jwPlayer accepts only URLs which are finished with correct video extension (for example, "test_video.avi").
Check if your vid_url (that is coming from db) ends with such an extension.

Vitaliy
thumbnail
Hamish Campbell, modificado hace 11 años.

RE: JWPLAYER NOT WORKING...

Junior Member Mensajes: 87 Fecha de incorporación: 20/08/08 Mensajes recientes
visionOntv are working on a OS gadget to work with Liferay and JW player, you can find the beta here http://openplayer.herokuapp.com/static/openplayer-1.0.xml new version coming at the end of the week.