News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How do I embed a video file? (like youtube)

Started by Segnali, September 04, 2012, 03:47:58 PM

Previous topic - Next topic

Segnali

Any code to see a video file (.avi in my case) embedded in the forum post?

Thanks

kat

As an admin, you can use html. This might work, between [html][/html] tags<!--This first part is for Internet Explorer -->

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="150" height="250">
<param name="src" value="fireworks.avi" >
<param name="controller" value="false" >
<param name="autoplay" value="true">

<!--The following section is for Firefox and Safari -->

<object type="video/quicktime" data="fireworks.avi" width="150" height="250">
<param name="controller" value="false" >
<param name="autoplay" value="true">
alt : <a href="fireworks.avi">test.mov</a>
</object>
</object>


The only thing you need to change is the Path/Name of the File and the Height and Width of the window to display it in. People will need the Quicktime plugin, too.

Or...

http://lmgtfy.com/?q=embed+avi

It might be best to convert it to an .swf/.flv file, though, coz embedding those is a lot easier.

Or, perhaps, have a look at the AEVA mod.


kat


Shambles

Quote from: K@ on September 04, 2012, 04:01:53 PM
I did that bit in the first line. :P

;)
Where did you find the tags Oh, so you did  :-X

kat



Nice to have someone watching my back, though. :)

hcfwesker

And, if you want other members to do so, without letting everyone on the forum post html , here's a MOD thats adds a youtube bbc tag, ( for youtube videos only, though)

http://custom.simplemachines.org/mods/index.php?mod=936

they can embed videos with

[youtube]youtube video link[/youtube]

Suki

Quote from: hcfwesker on September 04, 2012, 05:22:59 PM
And, if you want other members to do so, without letting everyone on the forum post html , here's a MOD thats adds a youtube bbc tag, ( for youtube videos only, though)

http://custom.simplemachines.org/mods/index.php?mod=936

they can embed videos with

[youtube]youtube video link[/youtube]

Since that mod was made a long time ago, it doesn't properly display videos with short urls like http://youtu.be/pa1gj525T0I  This one does with the aggregate of using hooks so there is no file edits.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

hcfwesker

Quote from: Suki on September 04, 2012, 05:30:32 PMSince that mod was made a long time ago, it doesn't properly display videos with short urls like http://youtu.be/pa1gj525T0I  This one does with the aggregate of using hooks so there is no file edits.

Ah, sweet.  Never noticed that one.  Fixin to update mine with it :)

Segnali

Quote from: Suki on September 04, 2012, 05:30:32 PM


Since that mod was made a long time ago, it doesn't properly display videos with short urls like http://youtu.be/pa1gj525T0I  This one does with the aggregate of using hooks so there is no file edits.

Hello, I am trying to install that mod, but can't find how.

After unzipping the .zip file, do I need to upload the files by FTP?


On the mod page, it says:

Settings

- Admin->Configuration->Modifications


Trouble is that in my Italian interface, I can't find "Modifications" (see image below)

Thanks

Kindred

probably the last one in that list.
Also, if you have issues or questions with a specific mod, please ask in the thread dedicated to supporting that mod. :)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: