Simple Audio Video Embedder

Started by SMFHacks.com Team, August 09, 2010, 10:42:47 PM

Previous topic - Next topic

Arantor

Disabling parsing of this in signatures is easy, not sure what the problem is to be honest... should be just one line changed in Subs.php to stop it happening...

Code (find) Select
if (file_exists($sourcedir . '/AutoEmbedMediaPro2.php'))

Code (replace) Select
if (strpos($cache_id, 'sig') === 0 && file_exists($sourcedir . '/AutoEmbedMediaPro2.php'))

vbgamer45

Haven't tried but for now main goal is just to add more sites. Permissions for disabling certain areas would come later if  I decide to do it but not in my current plans.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

poolhall

Arantor, thanks very much for the code.

vbgamer45, thanks for your reply.

_pi

Quote from: 青山 素子 on February 20, 2011, 10:53:11 PM
Quote from: _pi on February 20, 2011, 08:38:03 PM
in my case i want to have only staff and an extra group to be able to use embedding.

Here's the catch:

This modification automatically embeds video based on the presence of a simple piece of text in the post. No BBCode, no special tags. BBCode permissions aren't too complex as they are evaluated at post time based on the tag. With this type of modification, the embedding action happens on the display of the post.

This means that if you want to lock permissions on who can have embedded videos on their posts, you'd need to evaluate each individual post's author to see if they have the "ability" to have embedded videos in their posts. This could be very complex (I don't know that part of the code well, but I don't believe it looks up any user info) and at the very least very computationally complex. That means that you'll severely slow down your topic views.

If you're talking about showing videos in an embedded display, then that is a bit different and less complex.

thanks for explaining that! i think i will go the embedded way then.

Rothana

A "Check All" box at the bottom would be awesome!

Thanks for the mod!

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Imakarum

vbgamer45 Thanks for mod!

Please, add hxxp:vkontakte.ru [nonactive] - this is a very large Russian social network which has a lot of video.

Example: hxxp:vkontakte.ru/video38384320_158864678 [nonactive]

<iframe src="http://vkontakte.ru/video_ext.php?oid=38384320&id=158864678&hash=af8911d059345a29" width="607" height="360" frameborder="0"></iframe>

Is it possible? Thank you :laugh:

Arantor


vbgamer45

Major Update new features added and more video sites supported
1.1
+Media sites are now arranged in order by title
+Media sites are now shown on three columns
+Added settings to set default height/width for most video sites. Otherwise enter 0 to use the default height/width for media site
+Added support for Smotri.com
+Added support for PinkBike.com
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

!RFAN

i was waiting for height/width settings.. thanks :)

Edit: it is working fine. :)

Can we have full screen function for megavideo inside the embed video?
I mean it should not take to the megavideo.com but it should play the video in full screen mode. I have seen it on many other sites. Thanks :)

skoks

Do i have to have that link in my forum copyright??? How can I delete it, I've checked index.template and it just says that its part of theme_copyright where can I find that?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

skoks

Profanities removed by K@.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

zanadu_celal

Hi everyone.
I have looking for  BBcode for zippyshare player and download link for smf 2.0 rc3.
I have replace code for vbulletin and phpbb i will post here if can someone  remake it for smf will bee glad .
thnx and best regards.


<div style="width: 400px;"><embed width="400" height="20" flashvars="height=20&amp;width=400&amp;file=http://www$1.zippyshare.com/downloadMusic%3Fkey%3D$2aa&amp;volume=80&amp;type=flv" allowfullscreen="false" quality="high" name="mpl" id="mpl" style="" src="http://www.zippyshare.com/mediaplayer/mediaplayer.swf" type="application/x-shockwave-flash"><div style="font-size: x-small; text-align:center;">Link: <a href="http://www$1.zippyshare.com/v/$2/file.html">Download</a></div></div>


or


Title: zippyshare BBCode
Tag Name: ZS
Replacement:
<div style="width:423px;height:100px;border:1px dashed black;">
<p align="center">
<img src="images/zippyshare.jpg"></br>
<embed allowScriptAccess="never"
src="{option}/mediaplayer/mediaplayer.swf?file={option}/downloadMusic?key={param}aa&type=flv"
menu="false"
quality="high"
width="400"
height="20"
name="mp3player"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
wmode="transparent"
border="0"
style="margin-bottom: 6px;" />
<br />
<a href="{option}/v/{param}/file.html" target="_blank" rel="nofollow">
<img src="images/download.png"></a>
</div>
</p>
</div>



thanx again


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

kingkingston


Advertisement: