scotchsour (scotchsour) wrote in php,
scotchsour
scotchsour
php

Small problem with autoplay

I am using a video plugin for my site but one of the videos from veoh keeps going to autoplay, so I was wondering if I could get a small bit of help since this is old and the developer is no longer updating this plugin. I want to put a new piece of code to stop the autoplaying into the video embedder plugin.

My embedded video:


embed src="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=v5.6.0.1123&permalinkId=v20995555PJT9Qaah&player=videodetailsembedded&videoAutoPlay=0&id=2895821" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="410" height="341" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed">


The part I found for the plugin to work:

case 'veoh':
$content = wp_widget_video_buildEmbed('http://www.veoh.com/videodetails2.swf?player=videodetailsembedded&type=v&permalinkId='.$id.'&id=anonymous', $width, $height);



Thank you in Advance.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments