PDA

View Full Version : Flash or Video Display


shack
05-22-2007, 06:42 PM
I am new to this so here goes.

I was wanting to do a review of our products, using a small window(node/flash) as a YOUTUBE or CNET does theirs. Actually, not using the full MediaPlayer or that type player or making our videos real easy to copy.

Is it possible to call a video/flash from another domain thru HTML without PHP or ASPX? I am using ASPX from one site and straight HTML from another, and would prefer to use that domain name and pull from the streaming server at CitrexHosting.

Josh
05-22-2007, 06:58 PM
You could use a web flash player and just set the file location to the other websites .flv file - but if your not calling things from a database etc with no PHP then you would have to set up each page manually I think.

example:
<object type="application/x-shockwave-flash" background="FFFFFF" width="320" height="20" wmode="transparent" data="flvplayer.swf?file=http://yourdomain.com/yourFile.flv&amp;autoStart=false">
<param name="movie" value="flvplayer.swf?file=http://yourdomain.com/yourFile.flv&amp;autoStart=false" />
<param name="wmode" value="transparent" />
</object>

Would vary depending out what kind of flash player you have installed and how it handled the URL's I guess.

Hope its some help :top:

shack
05-22-2007, 07:32 PM
Thanks for your prompt reply.

Manually setting up each page is expected. That would be no problem.

Do you know what is required to get this working? Will this automatically convert AVI and MPEG to run in flash?

shack
05-22-2007, 07:40 PM
Josh,

Are there any required settings in .htaccess or somewhere else to allow this to work?

http://www.a1bar.info/test.html

does come up with this script, obviously I have no video in the script,

Ben
05-22-2007, 07:45 PM
You have to have the flash player first. Thats the .swf file. You can download a free one from HERE. (http://www.jeroenwijering.com/?item=Flash_video_Player)

It also sounds like you would be better off converting your avi and mpeg files by using THIS (http://www.download.com/Riva-FLV-Encoder/3000-2140-10320097.html) free software then using Cirtex to do it. Its just quicker.

Josh
05-22-2007, 07:46 PM
Hello,

You can download the flash player used in the example above from this page:
http://jeroenwijering.com/?item=Flash_Video_Player

Place the "flvplayer.swf" in a directory then create a new page in the same directoy & use this test script:

<html>
<object type="application/x-shockwave-flash" background="FFFFFF" width="320" height="240" wmode="transparent" data="flvplayer.swf?file=http://yourdomain.com/yourFile.flv&amp;autoStart=false">
<param name="movie" value="flvplayer.swf?file=http://yourdomain.com/yourFile.flv&amp;autoStart=false" />
<param name="wmode" value="transparent" />
</object>
</html>

The player will only stream .flv's - it won't convert them, CirtexHosting has a mod installed called FFMPEG which deals with file conversion, but that would mean you would have to convert here and transfer the converted files to your other host, so I'd recommend downloading a FLV converter to your desktop and manually converting your files. Using a program such as:
http://www.xilisoft.com/flv-converter.html

There is a free trial there, a bit of googling I'm sure you can find a suitable free converter.

/ya beat me to it Ben ;)

Ben
05-22-2007, 07:52 PM
Ha, I'm quicker on the draw ;)

shack
05-22-2007, 08:10 PM
Thanks Josh and Ben.

I think I have enough to get all going. The converter locked up on my PC which is old, so I will get my other machine working on this.

Don't be supprised if I get hung up with something, but we'll see.

phillip
05-25-2007, 12:19 PM
That RIVA thing is cool, they also have one that goes the opposite direction, from .flv to .avi (Saved my rear on a miniDV with an audio/video glitch, I produce a public access tv show, so I mostly deal with miniDV, or uncompressed .avi)

I was able to convert an existing youtube video to .avi then re-synch up the missing sound and missing video, then re-render the whole thing. You'd have to look really hard to tell there was a problem, or probably be the producer of the original video to be able to tell anything even happened. I'd say 99% of people would not tell there was a glitch. I repair videos every so often, when they come from the labels sometimes gunk gets on the reels. Instead of running a glitched video, I fix it.

In MY opinion, it's much better to convert the videos on one of your own boxen, then upload it. That way your not leaving things up to chance.

There's also a free youtube uploader, that works pretty well for me. I have several high-end codecs, and I struggled early on trying to upload the proper settings to youtube. It sounds stupid, but I really had a hard time trying to do it with my existing high-end codecs. My videos always came out looking horrid. It also seems to work faster than when I encode manually then upload manually.