Advertisement:

Author Topic: Simple Audio Video Embedder  (Read 884798 times)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,096
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #460 on: February 22, 2011, 09:49:49 AM »
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'))
No good deed goes unpunished
All helpful urges should be circumvented

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,941
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #461 on: February 22, 2011, 10:03:58 AM »
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

Offline poolhall

  • Jr. Member
  • **
  • Posts: 316
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #462 on: February 22, 2011, 10:27:51 AM »
Arantor, thanks very much for the code.

vbgamer45, thanks for your reply.

Offline _pi

  • Semi-Newbie
  • *
  • Posts: 82
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #463 on: February 22, 2011, 02:15:45 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.

Offline Rothana

  • Newbie
  • *
  • Posts: 1
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #464 on: February 22, 2011, 05:57:07 PM »
A "Check All" box at the bottom would be awesome!

Thanks for the mod!

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,941
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #465 on: February 22, 2011, 06:16:37 PM »
A "Check All" box at the bottom would be awesome!

Thanks for the mod!
On my todo list
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

Offline Imakarum

  • Newbie
  • *
  • Posts: 4
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #466 on: February 26, 2011, 06:35:23 PM »
vbgamer45 Thanks for mod!

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

Example: vkontakte.ru/video38384320_158864678

Code: [Select]
<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:

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,096
Re: Simple Audio Video Embedder 1.0.12 (Feb 10) 50+ Video Sites supported!
« Reply #467 on: February 26, 2011, 06:42:44 PM »
If the &hash= is required, then no, it won't be possible.
No good deed goes unpunished
All helpful urges should be circumvented

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,941
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #468 on: February 26, 2011, 11:15:03 PM »
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

Offline !RFAN

  • Sr. Member
  • ****
  • Posts: 716
  • Gender: Male
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #469 on: February 27, 2011, 12:34:35 AM »
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 :)
« Last Edit: February 27, 2011, 05:57:39 AM by !RFAN »

Offline skoks

  • Semi-Newbie
  • *
  • Posts: 87
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #470 on: February 27, 2011, 10:19:06 AM »
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?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,941
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
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

Offline skoks

  • Semi-Newbie
  • *
  • Posts: 87
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #472 on: February 27, 2011, 10:27:27 AM »
Profanities removed by K@.
« Last Edit: February 27, 2011, 11:40:26 AM by K@ »

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,941
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #473 on: February 27, 2011, 10:47:52 AM »
Then don't use it.
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

Offline zanadu_celal

  • Semi-Newbie
  • *
  • Posts: 56
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #474 on: March 05, 2011, 09:28:23 AM »
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.


Code: [Select]
<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


Code: [Select]
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

Offline zanadu_celal

  • Semi-Newbie
  • *
  • Posts: 56
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #475 on: March 06, 2011, 07:41:37 AM »
anybody there ?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,941
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #476 on: March 06, 2011, 09:39:20 AM »
Will look into in the next update if it is possible
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

Offline zanadu_celal

  • Semi-Newbie
  • *
  • Posts: 56
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #477 on: March 06, 2011, 11:11:26 AM »
Now not working zippyshare ??

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,941
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #478 on: March 06, 2011, 03:05:46 PM »
Next update I may look into adding it.
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

Offline kingkingston

  • Full Member
  • ***
  • Posts: 651
  • Gender: Male
Re: Simple Audio Video Embedder 1.1 (Feb 26) 60+ Video Sites supported!
« Reply #479 on: March 06, 2011, 03:07:17 PM »
I love this simple mod, keep it simple pleaseeee