Bug on Vshare 2.6 (Embed code)
Dear admins,
I found a bug in "Embeddable Player" CODE.
i installed vshare 2.6 version on my server and i fexed a external server to upload videos (Muli-Server option)
all uploading funtions works greatly but in the EMBEDED code the FLV file doesn't call the external URL.
It still keeps the old URL which was configured to call the FLV file on the same server where vshare is installed.
so when we insert the Embeddable Player CODE into another site the video doesn't work.
so if you can make a bugfix it would be great and the VSHARE system will be complet.
Re: Bug on Vshare 2.6 (Embed code)
A bug fix will be available in few hours.
Re: Bug on Vshare 2.6 (Embed code)
Find this code inside /template/view_video.tpl
Code:
<object width="425" height="350" type="application/x-shockwave-flash" data="{$baseurl}/player/player.swf"><param name="movie" value="{$baseurl}/player/player.swf"><param name="flashvars" value="&file={$baseurl}/flvideo/{$video_info.flvdoname}&height=350&image={$baseurl}/thumb/{$video_info.VID}.jpg&width=425&location={$baseurl}/player/player.swf&logo={$baseurl}/templates/images/watermark.gif&link={$watermark_url}&linktarget=_blank"/></object>
Replace with this
Code:
<object type="application/x-shockwave-flash" height="350" width="425" data="{$baseurl}/player/player.swf">
<param name="movie" value="{$baseurl}/player/player.swf" />
<param name="flashvars" value="&file={$baseurl}/flvideo/{$video_info.flvdoname}&height=350&image={$baseurl}/thumb/{$video_info.VID}.jpg&width=425&location={$baseurl}/player/player.swf&logo={$baseurl}/templates/images/watermark.gif&link={$baseurl}&linktarget=_blank" />
</object>
Thanks
Dave
Re: Bug on Vshare 2.6 (Embed code)
Download
http://www.buyscripts.in/vshare/2.6_fix_embed.zip
Unzip and upload to your web site in BINARY mode.