掲示板

JWPLAYER NOT WORKING...

thumbnail
11年前 に Bhavik Kama によって更新されました。

JWPLAYER NOT WORKING...

Junior Member 投稿: 55 参加年月日: 12/09/24 最新の投稿
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
11年前 に Vitaliy Koshelenko によって更新されました。

RE: JWPLAYER NOT WORKING...

Expert 投稿: 319 参加年月日: 11/03/25 最新の投稿
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
11年前 に Hamish Campbell によって更新されました。

RE: JWPLAYER NOT WORKING...

Junior Member 投稿: 87 参加年月日: 08/08/20 最新の投稿
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.