I had to update your code to include revver's current javascript else video would simply not play. As it is, the affiliateId is the ID of the user on Revver who acquired the javascript in the first place. This field should be added to the Revver parse script. I hardwired my own affiliate ID into the script because I'm the only user on the site:
my code:
$output .= '<script src="http://flash.revver.com/player/1.0/player.js?mediaId:' . $embed . ';affiliateId:72173;height:' . $height . ';width:' . $width . ';" type="text/javascript"></script>';
I'd suggest an option that eliminates the affiliate ID or requests it in the Video CCK setup window.
Comments
Comment #1
aaron commentedi'll have to look into that. ideally, i'd like to be able to do it w/o requiring an affiliate code.
Comment #2
aaron commentedthis is now set to allow an affiliate id to be entered at /admin/content/video_cck. it will then add that id to the embedded code. it should still embed videos, although no one will then get credit for it. i guess this could be expanded to allow individual users to add their own affiliate id if allowed, which would, when given, override the system default. but that's out of the scope of this ticket, and a bit more work than i want to do right now (unless there's an overwhelming desire for that feature). if so, open a new feature request for that.
Comment #3
(not verified) commented