Jump to content

Flash Video Player Not Showing In Views With Cakephp


Recommended Posts

Hello, am writing a video tutorial using cakephp. I have tried to embed my swf player using

Javascript code. It works fine in all the index view of all my controllers but don't in other action/view. What could possibly be the problem. Any help would be appreciated

Link to comment
Share on other sites

Thanks for the reply. This is the javascript code in my viewsI have also added the script in the layout and the osflv folder is in the webroot

<script type="text/javascript">



'width', '320', 'height', '265', 'src', ((!DetectFlashVer(9, 0, 0) && DetectFlashVer(8, 0, 0)) ? 'osflv/OSplayer' : 'osflv/OSplayer'), 'pluginspage',

'http://www.macromedia.com/go/getflashplayer', 'id', 'flvPlayer', 'allowFullScreen',

'true', 'movie', ((!DetectFlashVer(9, 0, 0) && DetectFlashVer(8, 0, 0)) ? 'osflv/OSplayer' : 'osflv/OSplayer'), 'FlashVars','movie=video.flv&autoload=on&volume=70')



<object width='320' height='265'


<param name='allowFullScreen' value='true'>

<param name='movie' value='osflv/OSplayer.swf?movie=


<embed src= 'osflv/OSplayer.swf?movie=video.flv&autoload=on&volume=70'

width='320' height='265' quality='high'






Edited by nasky
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.