How to create video that overlays the page?

Events happening in the community are now at Drupal community events on www.drupal.org.
pkcho's picture

I saw a feature on a TV news station site that basically was a video of a woman and her daughter talking. It was green-screened and laid over the main news page. It was a 10 sec spot highlighting something in the community. Sorry, I can't seem to find the site.

Is there a module built that can allow me to do something like that?

Thanks.

Comments

I haven't Seen A Module

blanesworld's picture

But,

Here's a link that explains how to do it in depth. You can add the SWF to a custom page on your site.

Hope this helps.

I don't see a link : )

pkcho's picture

Inticool, thanks for the help. Eagerly awaiting the link : )

"Sample" code

jerdiggity's picture

Joe --

Try copying/pasting this code into your (any) page. Not sure where I got the code, but here it is (before I no longer have it completely memorized... You'd think I'd write it down or something.)

<div id="video" style="position: absolute; top: 50px; right: 0pt; width: 200px; height: 244px;">
<object id="myAlternativeContent" width="200" height="244" type="application/x-shockwave-flash" data="http://video.klicktocall.com/video/showmovie_300x366.swf?f=pitzersonehour.flv" style="visibility: visible;">
<param name="quality" value="best"/>
<param name="wmode" value="transparent"/>
<param name="allowfullscreen" value="false"/>
<param name="allowscriptaccess" value="sameDomain"/>
</object>
</div>

Let me know if that's what you're referring to (just out of curiosity)...

Where should I paste this code?

hayunna's picture

Hi,

I am new to Drupal.
Can you please tell me where should I put the code you wrote?

I have installed Open Publish and uploaded an FLV file.
It should be playing after I save it, right?

But all I get is an error message that says

"You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly."

I checked the file node-video.tpl.php.
Then I found out that there's a function, swf($field_flash_file[0][filepath]), that Drupal calls to output the FLV player codes.

I don't know if I'll be doing it correctly if I look for that swf() function and edit whatever inside it.
Or am I missing some settings?

Thanks!

The above comment says to

stattler's picture

The above comment says to paste it on the post-body and change the path to the file accordingly. When you create a node, just paste it in there (as an html)

<div id="video" style="position: absolute; top: 50px; right: 0pt; width: 200px; height: 244px;">
<object id="myAlternativeContent" width="200" height="244" type="application/x-shockwave-flash" data="http://yourdomain.com/pathtofile/filename.flv" style="visibility: visible;">
<param name="quality" value="best"/>
<param name="wmode" value="transparent"/>
<param name="allowfullscreen" value="false"/>
<param name="allowscriptaccess" value="sameDomain"/>
</object>
</div>

Sorry Link Here

blanesworld's picture

Hmmmm? Maybe I was in space this morning. Try this one out.

http://brianchau.wordpress.com/2009/04/08/transparent-flash-video-overla...

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: