how to get link url
as
www.mysite.com/flvvideo/43as3432/myvideo.flv
for posting as bbcode on my site
how to get link url
as
www.mysite.com/flvvideo/43as3432/myvideo.flv
for posting as bbcode on my site
Which version are you using now ?
If its vshare 2.7 , you will get it from html source code
1. Open Mozilla Firefox
2. Click View
3. From the drop-down-menu click "Page Source"
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
[email protected]
yes i know this is there a easy solution for displaying this so my users can copy past the url
as Permalink
with in the bbcodes
How about this:
which is similar to what appears under the "Video URL (Permalink):" heading on view video page.HTML Code:<input name="video_link" value="[url]{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/[/url]" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" />
That will copy the following:
www.mysite.com/flvvideo/43as3432/myvideo.flv
Or whichever video you are watching.
Last edited by astro; 05-06-2011 at 02:07 PM.
Open up templates/view_video.tpl
find this:
and change to:HTML Code:<div> <label>Video URL (Permalink):</label> <br /><br /> <input name="video_link" value="{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" /> <br /><br />
HTML Code:<div> <label>BB Code:</label> <br /><br /> <input name="video_link" value="[url]{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/[/url]" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" /> <br /><br /> <label>Video URL (Permalink):</label> <br /><br /> <input name="video_link" value="{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" /> <br /><br />
Bookmarks