Meta tags displaying in wrong format for JWPlayer

benced - February 4, 2009 - 12:02
Project:XSPF Playlist
Version:5.x-1.20-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)
Description

According to this issue with JWPlayer -> http://www.longtailvideo.com/support/forum/Setup-Problems/15538/xspf-pla...

I need the xspf playlist to display this tag -> <meta rel='type'>video</meta>

But what I get is -> <type rel="flv">flv</type>

Yet in the screenshot on the XSPF Playlist project page it shows that the tag <meta rel='type'>flv</meta> should appear

Any help?

#1

benced - February 4, 2009 - 12:27

For reference here is what my playlist looks like -> http://www.anarchotv2point0.org/drupal5/christiebooksplaylist

#2

benced - February 4, 2009 - 14:59

Changed lines 392 to 397 from xspf_playlist_node.module

FROM

$item[] = array(
'key' => 'type',
'value' => $type,
'attributes' => array(
'rel' => $type,
),

to

  $item[] = array(
    'key' => 'meta',
    'value' => $type,
    'attributes' => array(
      'rel' => 'type',
    ),

//UPDATE//
Okay, the reason I don't think it was working because I was trying it here -> http://www.longtailvideo.com/support/jw-player-setup-wizard

and not on my actual site, regardless I don't think <type> is an actual proper tag, correct me if I am wrong

#3

arthurf - February 5, 2009 - 14:29
Status:active» fixed

This is fixed in CVS now. I did some work to make sure the entire XSPF is validating, and things are looking much better. I'm not sure why I missed this before, but it is working now

#4

arthurf - February 5, 2009 - 14:32
Status:fixed» patch (to be ported)

Woops, still need to port this to D6

 
 

Drupal is a registered trademark of Dries Buytaert.