Jump to content

nasky

New Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by nasky

  1. I was finally able 2 solve it. Just added $this->webroot to my path. Thanks for the reply
  2. 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"> AC_FL_RunContent('codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0', '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') </script> <!--<noscript> <object width='320' height='265' id='flvPlayer'> <param name='allowFullScreen' value='true'> <param name='movie' value='osflv/OSplayer.swf?movie= video.flv&autoload=on&volume=70'> <embed src= 'osflv/OSplayer.swf?movie=video.flv&autoload=on&volume=70' width='320' height='265' quality='high' type='application/x-shockwave-flash'> </embed> </object> </noscript>-->
  3. 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
×
×
  • 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.