Externally hosted media?

highvoltage - June 6, 2009 - 20:17
Project:FlashVideo
Version:6.x-1.5-rc2
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

AFAIK the JW player allows for media hosted by external sites. I've seen a few sites who do this(no idea if they were drupal or not) using their own custom skins for JW player. They can use hosting services like youtube, veoh, myspace video, etc, but present the video in their own branded JW player.

Does this module have that ability and if not, would that be considered as an addition? Though that may overlap with the embedded media field module... Maybe support for JW player should be requested to embedded media field instead as far as this functionality is concerned?

I came to this module through the partners link on the http://www.longtailvideo.com/ so this is why I wonder how extensive the support for that players abilities are(seemed official).

#1

attheshow - June 6, 2009 - 22:24

You should be able to do this using the FlashVideo module. Please see the module's included help files at admin/help/flashvideo and look specifically at the "id" parameter on how to embed videos from another host such as Google Video, Youtube, etc., and also at the "flashvar" parameter where you should be able to specify the "skin" for the JW player that you wish to use.

#2

highvoltage - June 12, 2009 - 22:22

Sorry to sound dense, but what if I don't have an embed code and instead have the file path to an FLV?

Example:

http://cache01-videos02.myspacecdn.com/56/vid_f6b809c8asfd3r2434cdfdebdeef3e5d89b.flv(not an actual vid, just an example)

I tried something like [video:id=myspacecdn-vid_f6b809c8asfd3r2434cdfdebdeef3e5d89b.flv] but all I ended up with was video not found. If i remove the .flv I get "filetypes are not supported" of course. Not sure exactly how to play videos when all I have is a file source link.

I've also tried [video:flashvar|file=http://cache01-videos02.myspacecdn.com/56/vid_f6b809c8asfd3r2434cdfdebdeef3e5d89b.flv], but that gave me the video_MIA.png.

#3

highvoltage - June 12, 2009 - 23:08

Ok, according to this page http://developer.longtailvideo.com/trac/wiki/FlashVars "flashvar|file=" should be the correct thing to use, yet it fails...

Is the file parameter not supported by this module or am i using it incorrectly?

#4

highvoltage - June 21, 2009 - 10:45

So am I to assume then that this module does not support linking to a video file source then?

#5

attheshow - June 22, 2009 - 02:00

Dear highvoltage,

In response to your question, the "file=" parameter is probably already being filled in by the FlashVideo module (see the "Custom FlashVars" textfield on the admin form for your content type at admin/settings/flashvideo/edit/YOURCONTENTTYPE).

I haven't personally tried to do what you're doing before, but I'd look at adding in my new external source (Myspace) into the "FileType, MIMEType, DefaultPlayer configuration" box on the Universal Settings page.

[myspace, 0, myspace]

And I'd try then creating a new player template file inside of my theme directory called "flashvideo-myspace.tpl.php". I'd probably just duplicate the "flashvideo-youtube.tpl.php" file from the FlashVideo directory, move it, and rename it. Then edit the embed code to be whatever you need it to be.

I think you would then need to add:

[video:id=myspace-f6b809c8asfd3r2434cdfdebdeef3e5d89b]

...into your node body to embed the video from Myspace. As I said, I haven't tried this personally, but from my understanding of this functionality within the module, this are the steps I would try. I hope this helps point you in the right direction.

#6

highvoltage - June 22, 2009 - 03:00

Thanks for the response attheshow, I'll look into this.

#7

highvoltage - July 12, 2009 - 01:01

Solved...

#8

highvoltage - July 12, 2009 - 01:00
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.