config: Oct 18 dev release, also occured on 1.x beta 4
Jquery update 1.3.2

Error: Invalid arg jquery.js line 1061 [uncompressed]
This is the bottom of the attr: function, trying to set elem[name]= value;

Setup and diagnostics:
The offending video:
http://cahaba.ransomweaver.com/dev/CASA/content/commitment-training-elig...

I have a custom template for book which uses the node relativity method to place a mediafront view on the page. I have two views, one for a single video (no thumbnails) and one for multiple videos.

// from my node-book.tpl.php
$params['playlist']='node_videos';
$params['args']=array($node->nid);
if ($numChildren>1) {
print mediafront_get_player('casa_video',$params);
} else {
print mediafront_get_player('casa_single',$params);
}

The multiple video player always works, all browsers
The single video player works all browsers except IE, where it gives the above error.

Playlist display settings:
If the player shows the playlist this bug does not occur.
current setting is Disable Playlist On, but also Disable Playlist Off, Show Playlist Off causes bug.

Comments

travist’s picture

Does it work if you don't use jQuery update?
Also, go into your preset and Enable debugging under the "Other Settings" and then submit what the error is after that.

Thanks,

Travis.

ransomweaver’s picture

Same behavior with jquery update off.

I get a page not found error:
content/sites/default/files/css/osmplayer/mediafront_casa_single_ie.css

This is an invalid path: content should not be on the beginning. url aliasing is adding content/, though obviously this isn't causing a problem for non-ie.

Maybe the problem is here:
OSMTemplate.php line 202

$files['template'] = $css_local_path . "{$id}.css";
$files['template_ie'] = $css_local_path . "{$id}_ie.css";

or OSMTemplate.php line 295

if( $this->settings['cssFiles']['template_ie'] ) {
$files[$to_path . '_ie.css'] = array( $this->settings['cssFiles']['template_ie'] );
}

travist’s picture

Are you using the default template? Basically how this works is the default template will copy over the player CSS files into your sites cache CSS folder in your files directory and generate jQuery UI CSS keys that will not conflict with the default jQuery UI CSS. So, if it is not copying over the IE css file, then maybe that file does not exist in default template. Please let me know since it should be there.

As for the "content" should not be on the beginning, this path is generated from the file_directory_path. Not sure why this would append the "content" to the beginning of the path, but the place to start and look for a solution here is in the osmplayer.module file, in the osmplayer_get_css_dir directory.

Hope this helps.

Travis.

ransomweaver’s picture

Hi,

Yes, Its the default template. I do see the ie.css files: e.g. sites/default/files/css/osmplayer/mediafront_casa_single_ie.css

osmplayer_get_css_dir() and any other css fns return the correct path on all browsers.

Maybe this something that will resolve when I move the site off the dev server, where it is not in the http root....

darol100’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)