Menu
  • HOME
  • TAGS

Check if Div which has both “unique class and Id” exist

javascript,jquery,jwplayer,video-player,jwplayer6

Another option is to use a special selector, like this: $('#myID.myClass') Example: http://jsfiddle.net/Vqwxc/...

Insert values into JWPlayer setup 'file' source from database

php,sql,arrays,jwplayer,playlist

Change: file: "<?php echo $data['URL'] ?>" To: file: "<?php echo $data['URL'] ?>", type: "mp4" So the full thing would be: jwplayer("mainplayer").setup({ playlist: [{ file: "<?php echo $data['URL'] ?>", type: "mp4" }], primary:"flash", autostart: true }); ...

Unable to save the current state of moniter of jwPlayer in local storage

javascript,html5,knockout.js,jwplayer

Okay, done. I stated with a fresh local storage with mapping in knockout.js.

How to pass dynamic link to jwPlayer in mvc 5 using jquery

javascript,jquery,asp.net-mvc-5,jwplayer,jwplayer6

Try one of two approaches: create the value in a tmp javascript variable <script type="text/javascript"> $(document).ready(function () { var tmpVideo = "@iewBag.VideoUrl"; tmpVideo = "872083564/" + tmpVideo + ".mp4"; jwplayer('mediaplayer').setup({ 'file': 'rtmp://872083564.r.cdnsun.net/872083564/_definst_/ mp4:tmpVideo, 'title': 'Title', 'description': 'Description', 'controlbar': 'bottom' }); }); Or just use curly brackets around your Razor code:...

Error loading media: File could not be played error in jw_player rails

ruby,ruby-on-rails-3,ruby-on-rails-3.2,jwplayer

Download jwplayer from http://www.longtailvideo.com/jw-player/download/ Put these files to the particular directory:- app/assets/jwplayer/jwplayer.flash.swf vendor/assets/javascripts/jwplayer.js vendor/assets/javascripts/jwplayer.html5.js Then add these line in application.js //= require jwplayer //= require jwplayer.html5 On the page where you are playing video, add these lines <script type="text/javascript">jwplayer.key="YOUR_JWPLAYER_KEY";</script> <div id="video">Loading the player ...</div> <script...

jwplayer not recognizing file in rails

jquery,ruby-on-rails,jwplayer

Thanks for your Response. The problem is it is not recognizing flash player in rails. I given the path to player works great. jwplayer('myElement').setup({'flashplayer': "/assets/flash.swf", 'id': 'playerID', 'width': '540','height': '360', 'file': videopath }); It may help to somebody who working on this....

Jwplayer mute doesn't work with HLS stream

jwplayer,hls

http://www.jwplayer.com/html5/autoloop/ Safari for iOS does not support mute attribute per jwplayer website ...

JWPlayer fires onPlay() twice. How to get it to only fire once?

jwplayer

Try using a boolean variable to control the count process, and just have your polling function check the variable. This way you can set/unset that variable from multiple sources without worrying about running functions multiple times. See http://jsfiddle.net/y6s4jymc/1/ Specifically, var startCounting = function(){ countEnabled = true; } var stopCounting =...

Video not playing IN JWPlayer

javascript,html,video,jwplayer

I executed this code from my localhost and it worked <!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://player.longtailvideo.com/jwplayer.js"></script> </head> <body> <div id="container">Loading the player ...</div> <script type="text/javascript"> jwplayer("container").setup({ flashplayer: "fwplayer.swf", file: "https://www.youtube.com/watch?v=yourVideo", skin: "mySkin.xml", height: 270, width: 480 }); </script> </body> </html> ...

JWPlayer load() and playAd() not starting using onBeforeStart()

javascript,jwplayer

Fixed it by updating to 6.11 from 6.10. :)

Video “Streaming” vs playing off directly from Files

video,video-streaming,jwplayer,wowza,video-on-demand

Let's first observe some trends in video delivery and presentation, with particular focus on the ways that content can be delivered to various devices and platforms. All web browsers are able to play back MP4 files. Most web browsers are able to play back DASH video (MSE technology is required)....

how to play video in jwplayer when onclick function called…playlist

javascript,jquery,asp.net-mvc-5,jwplayer,jwplayer6

Do you mean something like this? http://support.jwplayer.com/customer/portal/articles/1439570-example-loading-new-playlists Place the following embed code at the location you want the player to appear: <div id="myElement"></div> <script> jwplayer("myElement").setup({ image: "/uploads/myPoster.jpg", file: "/uploads/myVideo.mp4", title: "My Cool Trailer" }); </script> Second, add the JavaScript to implement the load behaviour: <script> function loadVideo(myFile,myImage) { jwplayer().load([{ file:...

JWplayer Full screen when user clicks on play

jquery,html,jwplayer

This will only work in HTML5 mode: <!DOCTYPE html> <html> <head> <title>Full Screen</title> </head> <body> <script src="http://p.jwpcdn.com/6/12/jwplayer.js" type="text/javascript"></script> <div id="player"></div> <script type="text/javascript" language="javascript"> jwplayer("player").setup({ file: "http://content.jwplatform.com/videos/C4lp6Dtd-el5vTWpr.mp4", image: "http://content.bitsontherun.com/thumbs/i8oQD9zd-640.jpg", primary: 'html5', width: 640,...

JWPlayer not playing .mov [closed]

jwplayer,jwplayer6,.mov

WMV files are not supported in JW Player, since they can't be played either natively or even with a Flash plugin on most platforms. Your MOV file may fail to play if it's not encoded correctly. Save yourself all kinds of heartache, and convert everything to MP4. Free program: http://handbrake.fr/...

No video shown when using jwplayer to connect to RTMP stream

video,streaming,jwplayer,rtmp

No need for a playlist with one item, and your RTMP URL is malformed. Also no need for the "primary" attribute, because RTMP is a Flash protocol - it can't be displayed in HTML5 mode anyway. So, try this: <script type="text/javascript"> jwplayer("myElement-teststream").setup({ file: "rtmp://192.168.0.8:1935/live/teststream", height: 1080, width: 1920 }); </script>...

Embedding with SWF in jwplayer

jwplayer,embedding

JW Player 6 can be embedded only using Javascript. There is no implementation of it that can be done with the SWF file by itself.

JW Player (new version) throws an error and doesn't play on the site

jwplayer,jwplayer6

In my case, it happens when my container div ID starts with a numerical character. jwplayer("2someID").setup({ file: fileURL, image: imgURL }); see my example in this jsFiddle try changing the div container id with a non-numeric character. Check this link for more information ...

Trouble selecting object ID with wildcard

javascript,jquery,jwplayer

I don't believe jwplayer is a jQuery plugin, but you're trying to call it like one. This page suggests that in order to use jwplayer, you call the jwplayer function and pass it the id of the element to use, or an index (0 = the first one). So if...

JWPLAYER custom error message

javascript,jwplayer

See here You need to add file attribute as mentioned in the document jwplayer().load({file:"http://jwplayer.com/errorfile.mp4",image:"http://jwplayer.com/errorfile.jpg"}); you need to create a error video for this and change your code <script type='text/javascript'> jwplayer('player').setup({ file: 'http://blog.com/stream.m3u8', image: 'http://blog.com/streamimage.png', title: 'STREAMING TITLE', width: '100%', height: "100%", aspectratio: '16:9', skin: 'glow', mute: 'true', ga: '{}' });...

JW Player not playing DAILYMOTION and VIMEO video but YOUTUBE Video works perfectly fine

javascript,html5-video,jwplayer,vimeo-api,dailymotion-api

No mystery there. JW Player supports YouTube videos, but does not support Dailymotion or Vimeo videos. To display those videos, you have to use their own player scripts, not JW Player. From the JW Player FAQ: JW Player supports playback of multiple media formats: video files, audio files, YouTube videos,...

RTMP stream plays sound for 1 second, then stops - no video at all

video,video-streaming,jwplayer,rtmp,jwplayer6

Bah, a second too late, just found the answer here - http://support.jwplayer.com/customer/portal/questions/6242868-white-screen-using-ie1-11-windows7. It's IE's GPU rendering, which has to be turned off. Setting stagevideo to false in JW player's setup configuration resolves the issue. EDIT: Apparently, the video stops after 1 second anyways. Seems to be unrelated. Doesn't happen on...

JWPlayer rtmp redirect from php

jwplayer,jwplayer6

solution was to use smil. just echo these line from php file <smil> <head> <meta base="rtmp://192.168.112.128/vod/"/> </head> <body> <video src="got.mp4"/> </body> </smil> ...

JWPlayer, Soundcloud file source

javascript,audio,source,soundcloud,jwplayer

JW Player can handle self-hosted videos, i.e., you give it a link directly to an MP4 or stream, and YouTube videos. That's all. It doesn't support any other third-party players, which is what things like Soundcloud, Vimeo, etc., are. This is not an "unanswered question." It's been answered repeatedly, both...

Do I have to use .setup to switch video file in jwplayer?

jwplayer

The simplest way is to use: jwplayer.load([{file, image}]); file can be a single video or audio file or a RSS playlist. image is optional. Ref. http://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference There's a load of options on that page so use Ctrl + F and search for ".load" JW Player's documentation is not very helpful...

Displaying current time jwplayer

jquery,jwplayer

Here is some sample code: <!DOCTYPE HTML> <html> <head> <title>onTime</title> <style type="text/css"> body { font-size:1em; line-height:1.8em; } h2,#timer { background-color:#000; color:#0f0; font-size:2em; margin:0em; width:200px; height:1.2em; } </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="http://p.jwpcdn.com/6/8/jwplayer.js"></script> <script type="text/javascript">...

JW Player with HTML5

html5,flash,video,html5-video,jwplayer

You're making it much more complicated than it really is. Here's a simple demo page that does what you want. http://misterneutron.com/JW5video/ And here's the page code: <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>JW5</title> <script type='text/javascript' src='jwplayer.js'></script> </head> <body> <div id='myElement'>Loading the player...</div> <script type='text/javascript'> jwplayer('myElement').setup({ flashplayer: 'player.swf', file:...

Is it possible to play a clip backwards in jwplayer?

jwplayer,jwplayer6

No. JW Player does not have any ability to manipulate the video itself. JW Player doesn't actually "play" the video. It's just a steering script, sending the video to the browser's own native HTML5 ability, or invoking a Flash plugin if necessary. It provides its own overlays for things like...

How to hide JWPlayer 6 play button?

javascript,css,jwplayer,jwplayer6

The best way to do that would be to create your own skin, and leave that element out of the definition. But I think you can also do a little brute-force CSS: <style> .jwdisplayIcon { display: none !important; } </style> Clicking the video frame will still start the playback....

How can I embed the following VAST tag in a test page?

javascript,jwplayer,ads,vast

When setting up the JW Player with a VAST tag, you do it like this - http://support.jwplayer.com/customer/portal/articles/1431665-basic-preroll-video-ads jwplayer('myElement').setup({ file: 'assets/myVideo.mp4', primary: 'flash', advertising: { client: 'vast', tag: 'http://adserver.com/vastResponse.xml' } }); ...

JW Player making responsive with BOTR video key

video,jwplayer,jwplayer6

Great thanks to Ethan JWplayer and Andrew. I finally find out a way to solve the problem. In setting page of my JWplayer reseller accounts, "secure embed and download video" option is selected. That's why I cannot access these videos by that way. I need to add signature and expiring...

Full screen does not work in jsfiddle

fullscreen,jwplayer,video-player,jwplayer6

You can click on Share button, then take the Full screen result URL, open it, go to full screen in player and then (optionally) click on F11 Another quick way: right click on jsfiddle result --> View frame source --> In the view source tab take the iframe URL and...

Does jwplayer supports RTSP Streaming?

video-streaming,jwplayer,rtsp

RTSP is not supported. Here is what we support - http://support.jwplayer.com/customer/portal/articles/1403635-media-format-support...

Multiple YouTube video embedded autoplay sequence

javascript,video,youtube-api,jwplayer,autoplay

Here is another example that does more of what you want: <!DOCTYPE html> <html> <head> <title>4 Videos</title> </head> <body> <script src="http://p.jwpcdn.com/6/11/jwplayer.js" type="text/javascript"></script> <div id="player1"></div> <div id="player2"></div> <div id="player3"></div> <div id="player4"></div> <script type="text/javascript" language="javascript"> jwplayer("player1").setup({ file:...

html5gallery not working in Firefox

javascript,jquery,html,jwplayer

This is an error thrown by BrowserLink feature of Visual Studio 2013. By default, the feature is enabled. You can disable it to get rid of such errors. Refer: http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx

M3U8 playback issues with Vimeo and JW Player

video,jwplayer,vimeo,m3u8

M3U8 files from Vimeo use 302 re-directs, which our Flash HLS implementation does not support.

Change Opacity of JWPlayer Display Icon (Play Button)

javascript,css,jwplayer

You should make the graphic in photoshop or another image editing program and change the opacity there. That way it will work in both rendering modes in the player, Flash or HTML5. Your CSS work arounds here will only work for the HTML5 player. Yes, you would have to build...

JWPlayer JS plugin added to the flash-version

javascript,plugins,jwplayer

It looks like you modified my plugin here - http://www.pluginsbyethan.com/newsticker6.html This plugin was originally written in Flash, so the JS version falls back to the Flash version like so: }, 'newsticker.swf'); You removed the swf in the quotes, but now the JS plugin is trying to fall back to a...

jwplayer error loading could not load player configration

facebook,facebook-graph-api,jwplayer

The current version of JW Player can't be embedded on Facebook. To do that, you'll need a special version, available only directly from JW Player, and only available to those with a "Premium" license or better (not even a "Pro" license will suffice). http://support.jwplayer.com/customer/portal/articles/1826071-embedding-jw-player-onto-facebook...

Jwplayer 6.11 doesn't show controllers buttons

javascript,jwplayer

Change: jwplayer("mediaplayer_test-_internet_archive.mp4").setup({ To: jwplayer("mediaplayer_test-_internet_archive_mp4").setup({ The period is messing up things....

RTMP stream on IE dies after ~1 second

video,video-streaming,jwplayer,rtmp,jwplayer6

I found out what's the problem: https://github.com/arut/nginx-rtmp-module/issues/340 Actually, documentation even says that it should be enabled by default: https://github.com/arut/nginx-rtmp-module/wiki/Directives#wait_video Yes, apparently, if you're running nginx rtmp module for RTMP hosting, you need to set: wait_video on; In your RTMP applications' configuration block....

Jw player Video not auto starting on Mobile devices

html5,html5-video,jwplayer,jwplayer6

It is not recommended to have autostart for mobile device. As @MisterNeutron mentioned mobile devices won't autostart for very good reasons - expensive bandwidth, and not wanting to have a noisy video start playing while you're in a meeting, restaurant, etc. On most sites, I'd like to ban autostart videos...

Integrate Captions on Web Page with JWPlayer

javascript,jwplayer,closed-captions,webvtt

You could possibly use the HTML5 player, use our built in captions - http://support.jwplayer.com/customer/portal/articles/1407438-adding-closed-captions, and then use CSS to move the div outside of the video player space.

JWPlayer in Drupal has container ID starting with Numeric Character

html,drupal-7,jwplayer

While you're at it, here is a quick solution to it. Since this is a fix for Drupal JWPlayer Module, do the following:- Go to jw_player module folder and open theme folder. Open jw_player.tpl.php and add the following line on top (probably where PHP declaration starts). $html_id = "myvideo". $html_id;...

Use Object Tag with JWPlayer and HLS

html5,flash,object,jwplayer,osmf

(Posting my comments as the answer, for posterity.) In JW Player 6, you must use the jwplayer.js script to embed the video. You can't use an object tag (or a video tag, for that matter). JW Player 5 allowed the use of the object tag, but has no HLS support....