DISPLAYING .FLV VIDEO ON A PAGE - Mar 7th, 2015


If you’ve already got your .FLV file then skip this step. If you’re downloading a video from YouTube, then, first
download the free YouTube video downloader from

http://www.xilisoft.com/download-youtube-video.html

Create an upload field that will accept one .flv file, a video_title text field, and if necessary, a video_image upload
field.

Then, to render a blank video screen in your viewer:



<embed src="http://freevideocoding.com/flvplayer.swf?file=http://your_site.com/
<?php foreach ($common_informationRecord['video'] as $upload): ?><?php echo $upload['urlPath'] ?><?php endforeach ?>
&autoStart=false" width="432" height="240" quality="high" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</p><br /><?php echo $common_informationRecord['video_title'] ?>



Or, to render an embedded still image in your viewer to click on:



<?php foreach ($common_informationRecord['video_image'] as $upload): ?>
<img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo
$upload['thumbHeight'] ?>" alt="" <?php endforeach ?>style="cursor:pointer;" onclick="this.parentNode.innerHTML =
'\x3Cembed src=\'http://freevideocoding.com/flvplayer.swf?file=http://your_site.com
<?php foreach ($common_informationRecord['video'] as $upload): ?><?php echo $upload['urlPath'] ?><?php endforeach ?>
&autoStart=true\' width=\'325\' height=\'250\' quality=\'high\' type=\'application/x-shockwave-flash\'
pluginspage=\'http://www.macromedia.com/go/getflashplayer\'\x3E\x3C/embed\x3E';" />

<br /><?php echo $common_informationRecord['video_title'] ?><br />CLICK THE IMAGE TO PLAY THE VIDEO



The line breaks are only here for clarity. There should be no extra spaces. Change the sizes to fit your application and
the URL to match your web site URL, style the text to suit your needs.

There's more information at

http://'http://freevideocoding.com

Hope that solves some of the mystery.



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service