For a moment it all worked really well, but all of a sudden the flv-player isn't showing and when I go to examle.com/xspf/node/182 I get:
This page contains the following errors:
error on line 8 at column 100: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.
what could be done to fix this? (in short therm..!)
Thanks,
J.
Comments
Comment #1
arthurf commentedCan you either give me a url to look at, or paste the source of that page here?
Comment #2
jhaggenburg commentedI've just reinstalled FLV Media Player, SWFObject and XSPF playlist and this error is now gone. Unfortunately, the player still isn't showing, because "example.com/crossdomain.xml" isn't found. I'm not sure if this is an XSPF-error, but do you know what it could be?
Comment #3
arthurf commentedA nasty issue that can bite you with xspf_playlist is that a blank xspf page can get cached, and then you can't get it over ridden without dumping your cache. That might be what's going on. I need to make some kind of interface that prevents this, ala views.
Comment #4
jhaggenburg commentedi've just did a Empty Cache with the developer-menu and even added a new node with a flv. Same result :(
This is the final source:
Comment #5
arthurf commentedare you seeing an javascript errors? I unfortunately can't get to your page, so I can't see it, but your code looks good and your xspf page looks good to me.
Comment #6
arthurf commentedOh, it could be that your domain is: http://www.maxedamasterclass.nl/xspf/node/184, but your player is being served from http://maxedamasterclass.nl/sites/all/modules/flvmediaplayer/mediaplayer...
The www/maxedamasterclass could be the issue
Comment #7
jhaggenburg commentedHey thanks for your time!
Yeah, it could be easier if you can view the site, so I made a temporary user.
http://www.maxedamasterclass.nl/
user: temp
pass: temp
meanwhile node 184 is deleted, so I also made a new one, #185.
I'll go looking in the javascript-area, but I'm not very familiar with js. Anyway, if you wanna peek once more I'll be very thankful! :)
Comment #8
jhaggenburg commentedGood guess, the www.-issue was the one!
problem is.. if a visitor enters the adres without the www, it's not working. Is there a quick workaround for this?
Comment #9
arthurf commentedThere is a way- basically, you need to make sure that the url that you set for the FLVmediaplayer path is the same as xspf, and the way to ensure this if you're not forcing urls with apache, is to add a config option in your settings.php file
{{{
$config('xspf_playlist_base_url' => 'http://same.domain.com');
}}}
Let me know if that works for you
Comment #10
jhaggenburg commentedThanks. I've tried adding this to my settings.php file, but got some errors. Should I just copy/paste that? Is that php-syntax with those {{{ ?
Comment #11
arthurf commentedAhhhh, woops! wrong text markup format. You should be able to add:
There is usually a $conf array in your settings.php file at the bottom that has been commented out. Since I can't see yours, as long as you put this code at the very end of the file, you should be fine.
Comment #12
jhaggenburg commentedYEAH! Thanks a lot, this totally did the trick - for now :-)
But now I'm wondering.. Am I the first one that came up with this? It isn't that weard, is it?
Anyway, thanks again for your support!
Comment #13
jhaggenburg commentedComment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.