Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: XHIBIT911 on June 17, 2013, 06:15:27 PM

Title: Admin only Flash Embed
Post by: XHIBIT911 on June 17, 2013, 06:15:27 PM
A while ago on another forum I had, I was able to embed flash as the admin. No others could do it, is there a 2.0.4 mod compatible to allow this for my new forums. Ive looked and havent had any luck locating one.
Title: Re: Admin only Flash Embed
Post by: Colin on June 17, 2013, 06:19:22 PM
Sure you can just use the [html][/html] tags to do it. Only admins are permitted to use the html tags.
Title: Re: Admin only Flash Embed
Post by: XHIBIT911 on June 17, 2013, 07:32:48 PM
Thats not working for me.

the only way I can get this flash ad to work is if flash is activated. Using the [html ] [/html]or even [flash][/flash] tags don't work unless the flash option is activated. There's gotta be another way

http://www.pshomesource.com/HobbyMafia.com/media/introflash.swf
Title: Re: Admin only Flash Embed
Post by: Colin on June 17, 2013, 08:41:06 PM
The html tags will work. What is the code you put inside of the tags?
Title: Re: Admin only Flash Embed
Post by: XHIBIT911 on June 17, 2013, 09:06:57 PM
http://www.pshomesource.com/HobbyMafia.com/media/introflash.swf
Title: Re: Admin only Flash Embed
Post by: Colin on June 17, 2013, 09:13:10 PM
That is the issue. You will need to use something like



[html]<object type="application/x-shockwave-flash" data="http://www.pshomesource.com/HobbyMafia.com/media/introflash.swf" width="600" height="300">
    <param name="movie" value="myclip.swf" />
    <param name="quality" value="high" />
    <embed src="http://www.pshomesource.com/HobbyMafia.com/media/introflash.swf" quality="high" />
</object>[/html]


make sure to change the width and height. I just put random numbers in there.
Title: Re: Admin only Flash Embed
Post by: XHIBIT911 on June 17, 2013, 09:24:09 PM
Thanks so much bro...I dont know why that completely slipped my mind....now speaking of embeds perhaps you can help me with this final issue.

When I try to adjust the size for my ClipBucket embeds to my smf forum, the width doesnt get wider, but the height does whatever I set it too. Plus the autoplay wont work unless its in preview.

<embed src="http://video.hobbymafia.com/player/cbplayer/player.swf?config=http%3A%2F%2Fvideo.hobbymafia.com%2Fplayer%2Fcbplayer%2Fembed_player.php%3Fvid%3D995%26autoplay%3Dyes" type="application/x-shockwave-flash"allowscriptaccess="always" allowfullscreen="true"  width="540" height="334"></embed>