Fórum

JWPLAYER NOT WORKING...

thumbnail
Bhavik Kama, modificado 11 Anos atrás.

JWPLAYER NOT WORKING...

Junior Member Postagens: 55 Data de Entrada: 24/09/12 Postagens Recentes
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 11 Anos atrás.

RE: JWPLAYER NOT WORKING...

Expert Postagens: 319 Data de Entrada: 25/03/11 Postagens Recentes
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 11 Anos atrás.

RE: JWPLAYER NOT WORKING...

Junior Member Postagens: 87 Data de Entrada: 20/08/08 Postagens Recentes
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.