The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Show videos instead of links?

4 posters

Go down

Solved Show videos instead of links?

Post by MrsC November 23rd 2009, 1:48 pm

I have just been updating my homepage, and have been including video links on my hjomepage in the news widget box.

Is there a way of adding these videos so they show up as the vids, and you just press play, rather than them showing up as links?

http://totallytwilight.forumotion.co.uk/portal.htm
avatar
MrsC
New Member

Posts : 10
Reputation : 0
Language : english

Back to top Go down

Solved Re: Show videos instead of links?

Post by Sanket November 23rd 2009, 1:53 pm

There is a embed option on the page of the video, use that code to achieve what you desire.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Show videos instead of links?

Post by Goku93 November 23rd 2009, 1:58 pm

ok was just gone to search this

I think this would also be great if you want this

RoNo wrote:As I mentioned in the PM...
Here is the code for the show/hide search module I have on *this test forum
Code:
<center>
<h3>Unique Search</h3>
<script type="text/javascript">
function toggleDiv() { if (document.getElementById("search").style.display == "block") 
{ document.getElementById("search").style.display = "none"; } else
{ document.getElementById("search").style.display = "block";}  } </script>
<input type="button" value="Show/Hide Sites" onclick="toggleDiv()">
<div id="search" style="display:none;"><br>
<table width="98%" style=""><tr><center>

<td width="150px" style="border: #cccccc; border-style: solid; border-width: 1px; padding:3px" onmouseover="this.bgColor='#7DF9FF'" onmouseout="this.bgColor='#ffffff'" bgcolor="#ffffff"><a href="http://help.forumotion.com/forum.htm" style="text-decoration: none" target="innerframe"><center>Help.Forumotion</center></a></td>

<td width="150px" style="border: #cccccc; border-style: solid; border-width: 1px; padding:3px" onmouseover="this.bgColor='#7DF9FF'" onmouseout="this.bgColor='#ffffff'" bgcolor="#ffffff"><a href="http://www.google.com" style="text-decoration: none" target="innerframe"><center>Google</center></a></td>

<td width="150px" style="border: #cccccc; border-style: solid; border-width: 1px; padding:3px" onmouseover="this.bgColor='#7DF9FF'" onmouseout="this.bgColor='#ffffff'" bgcolor="#ffffff"><a href="http://www.youtube.com/videos" style="text-decoration: none" target="innerframe"><center>YouTube</center></a></td>

<td width="150px" style="border: #cccccc; border-style: solid; border-width: 1px; padding:3px" onmouseover="this.bgColor='#7DF9FF'" onmouseout="this.bgColor='#ffffff'" bgcolor="#ffffff"><a href="http://zone2.forumotion.net/" style="text-decoration: none" target="innerframe"><center>Zone II</center></a></td></center></tr></table>

<iframe style="border:#cccccc 1px solid; border-top:#111111 0px solid; padding:1px" name="innerframe" src="http://www.youtube.com/videos" width="98%" height="500px"></iframe><br><br>

<div align="center"><font size="2">Right click inside frame for "back/reload". | To open a link and view it outside this frame: Right click "open in new tab".</font></div></div></center>
Place the module/widget at the very top or bottom of the portal (for full width).
To change or add additional links: Copy/Edit/Paste TD's.

Example TD
Code:
<td width="150px" style="border: #cccccc; border-style: solid; border-width: 1px; padding:3px" onmouseover="this.bgColor='#CHANGE Mouseover Color Here'" onmouseout="this.bgColor='#ffffff'" bgcolor="#ffffff"><a href="ADD New Link Here" style="text-decoration: none" target="innerframe"><center>TITLE of New Link Here</center></a></td>
Goku93
Goku93
Forumember

Male Posts : 255
Reputation : 1
Language : English,Urdu,HTML,CSS,Coding,C++,Hacking
Location : Pakistan

http://www.zamboadvertising.net/forum.htm

Back to top Go down

Solved Re: Show videos instead of links?

Post by MrsC November 23rd 2009, 2:05 pm

Thanks, I actually found an icon for posting Youtube videos in the post, and its done the trick :wouhou:
avatar
MrsC
New Member

Posts : 10
Reputation : 0
Language : english

Back to top Go down

Solved Re: Show videos instead of links?

Post by ankillien November 23rd 2009, 2:08 pm

Solved > Locked
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum