Posted by perandre on March 29, 2009 at 9:48pm
Jump to:
| Project: | FLV Media Player |
| Version: | 6.x-1.0-beta3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I find that after I save my video nodes, I can view them perfectly. If another person edits the video (just opens the node and saves again), there's only a white space left where the video was. So; whatever video I edit myself is visible for me, but not for the other editor, and vice versa. This goes for both logged in and not logged in users.
Comments
#1
I noticed that the jQuery is referring to the wrong path for the player. My drupal installation use to be in mysite.com/beta, but now it is in beta.mysite.com.
The js in head still looks like this, however (after changing the main setting + profile...and emptying cache):
if (Drupal.jsEnabled) {$(document).ready(function() {
$.fn.media.defaults.flvPlayer = '//beta/sites/default/files/player/player.swf';
$.fn.media.defaults.mp3Player = '//beta/sites/default/files/player/player.swf';
$('.filefield-file a').media();
});
}
I'm using node overrides, btw.
#2
Update:
Looks like a issue with swfobject API; I will take it over there. The player path in the end of the html has some absolute(ely wrong) urls.
#3
The issue seems to be that the module sends wrong information to SWF Object API after I moved my site. Wrong path to player shows up on some nodes:
jQuery.extend(Drupal.settings, { "swfobject_api": { "files": { "swfobject-1": { "url": "<b>http://PathToOldSite.com/sites/.../player.swf</b>This happens regardless the setting on each node (and in the main settings + profile).
#4
and if the module is disabled and uninstalled then reinstalled?
I'd avoid SWFObjectAPI as from the last I read of the author it will be merged with SWFTools which is what I use.
#5
Since I'm the author of both, I wouldn't worry about it :) There will be a smooth transition path.
As per the domain issues, truncate the cache_flvmediaplayer table- that should do the trick.
#6
Thanks, I JUST found out from http://drupal.org/node/339182.
@VeryMisunderstood -I just posted an issue about that;)