Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

YouTube Videos in Wordpress not loading (not using WP Plugin)


Hi everyone.

Im hping someone can shed some light on this intersting dilemma. Ive been using the JWplayer for years and LOVE it.

I'm using Wordpress as a content manager; and I'm having an issue getting Youtube videos to load/play within the player.

Just so yo know - I am NOT using the JWplugin, but rather the codig to make it work in HTML - I find it easier and faster to update.

I'm using text files to hold data so my pages and not so heavy with code - plus I do alot of TV show content, so its easier to make a change once in a text file.

Heres the issue:

I can EASILY get the player to play videos when I am pointing to MP4 video files -- no problem there -- its when I now want to add or use YOUTUBE videos that I get an error in loading the playlist. I have checked and double checked everything - I dont see where the problem is.

Wondering if someone can look and see what might be the issue and shed some light.

FYI - I can use the same playlist.rss on my main HTML page to load/run Youtube videos there, and NO issue playing there.

Also, what's interesting, the second set of videos (on the testing page) -- these are MP4s -- no problems playing/adding them; but I did add a YOUTUBE vid at them end - and as you can so, its not showing up - but the list still plays.

Testing page:
http://chicagoscifi.com/wp/archives/19872

Calling to the promos file in Wordpress using the includeme plugin:
<div>[includeme file="../tv/vanhelsing/promos/promos1.txt"]</div>

promos1.txt

<table width="710" border="0">
<tr align="left">
<td>
<div id="mediaspace">This text will be replaced</div>
<script type="text/javascript">// <![CDATA[
jwplayer('mediaspace').setup({
'flashplayer': '/mediaplayers/player58/player.swf',
'playlistfile': 'http://chicagoscifi.com/tv/vanhelsing/promos/playlist.rss',
'playlist': 'bottom',
'controlbar': 'bottom',
'bufferlength': '15',
'width': '700',
'height': '600',
'skin':'/mediaplayers/jwplayer/simple.zip' });
// ]]></script>
</td>
</tr>
</table>

playlist.rss file

<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer.longtailvideo.com/trac/">
<channel>
<title> HTTP Pseudo Streaming</title>
<item>
<title>Star Trek July 2016</title>
<media:content url="https://www.youtube.com/watch?v=fIHH5-HVS9o"/>
<jwplayer:provider>youtube</jwplayer:provider>
</item>
</channel>
</rss>

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

Can you let me know the exact steps I would need to take to reproduce your issue when YouTube videos are in the playlist? On the test page you provided, the YouTube video is working fine and appears to be the only item in the playlist.

Please let me know. Thank you.

This question has received the maximum number of answers.