The player doesn't work when I put RTMP files in the playlist. I tried with a MP4 and it worked. I tried to change some parameters and also find about it but I didn't get anything. Can you give me a hand?
Playlist: http://220.127.116.11/lab_front/JWCemex/playlist.rss (commented code works well) Player: http://18.104.22.168/lab_front/JWCemex/jw_json.html
What happens if you take the code you commented out and just replace the MP4’s URL with your RTMP stream’s URL? I’ve never seen the jwplayer:provider or jwplayer:streamer elements in a RSS feed, so it may be that they are outdated. You can see all of the elements we support in RSS feeds on our External Playlists and Feeds support article.
Now it doesn't work even with the MP4. It keeps trying to get the Playlist and after 35 seconds failed and shows "Error loading playlist: Error loading file".
What I've tried consists of using your playlist from https://support.jwplayer.com/customer/portal/articles/1406722-external-playlists-and-feeds and it works fine (both JW6 and JW7). So next step I tried was loading same playlist but located in my server and it doesn't work.
Do you know what is happening? I have the crossdomain file located on the root (set my server wide open).
Now the RSS feed loads correctly butit isn't possible to play the RTMP stream. The HLS stream plays well on my iPhone. I declared the RTMP exactly the same way as HLS and also tried with type="video/mp4" and type="application/x-fcs" without result.
The RSS feed you are currently using at http://22.214.171.124/lab_front/JWCemex/jw_json.html is only specifying a MP4 and a HLS stream. Is one of the other RSS feeds that are commented out in your code the one that you are having issues playing RTMP streams in?
The playlist is working for me in both JW 6 and JW 7. For JW 6, you may have to set primary: “flash” in your embed code to make sure the player renders in Flash ahead of time, in order for it to see all three playlist items.
Thanks Alex! I completely forgot the primary field! Now it works correctly.
I have another doubt, maybe you can solve it. When I migrated from JW6 to JW7, I had to use your jwplayer.js (located in your servers) because if I use mine the page always try to request jwplayerflash.swf from where the .html is located. So I added the jwplayer.flash.swf to both where the player (js) is located and to the .html file location but it still tried to request it and didn't find it... So the player didn't start playing. I have this problem with both HLS and RTMP (not with WebM).
When you download the self-hosted player from your account dashboard, it does include jwplayer.flash.swf in the same directory, so you shouldn’t have to manually put it there. And when using a cloud-hosted player, it knows to request jwplayer.flash.swf from our CDN.
Do you have a link to a page where our player is embedded on which I can reproduce this issue?
JWP6, works well: http://126.96.36.199/lab_front/JWPlayer/jw6_rtmp.html
Same page with JW7 doesn't work: http://188.8.131.52/lab_front/JWPlayer/jw7_rtmp.html
I don't understand why it happens. In both players I have the .swf file according to the version of them.
I have another question, related to what I asked you the last week ( https://support.jwplayer.com/customer/portal/questions/15962272-ingest-videos-throught-a-csv-file ). I would like to batch videos only for getting analytics (I don't want to upload them, just like the ADD URL function of the website). I get it with YouTube videos (thanks to your help) but now I want to it with just a url. I tried with this CSV file ( http://184.108.40.206/lab_front/JWPlayer_API/ingest_text4.csv ) and it didn't work. I know the download_url field is only valid when I want to upload a MP4 file but without it also failed.
If the jwplayer.flash.swf file that came in the JW 7 ZIP file you downloaded from your account dashboard can be found at http://220.127.116.11/lab_front/JWPlayer/jwplayer.flash.swf, then it is probably an issue with your server. I suggest this because even if I try to access that URL directly into the browser, it just times out instead of download the .swf file like it should.
As for the CSV file, as long as you have the sourcetype set to url, you shouldn’t need the download_url column. You would only need to add the URL of the actual media file in a sourceurl column. For example, if I wanted to add the URL of http://www.jwplayer.com/content.mp4 to my dashboard as an external URL, I would have the following in my CSV:
I put in my CSV file the fields like you said and it didn't work: CSV file: http://18.104.22.168/lab_front/JWPlayer_API/ingest_text.csv Batch (downloaded from your website): http://22.214.171.124/lab_front/JWPlayer_API/batch.php
I also tried URL in capital letters but it neither work.
I'm also trying to add a playlist through the API (I got a RSS feed with both files and their mediaId). Is there any example code working?
It looks like you and I are going to learn something today that we both didn’t know. Apparently, you can’t add external URLs to your dashboard via a CSV – you have to do them just through PHP, like the following: