Advertisement:

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

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 330
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Simple Audio Video Embedder
« on: August 09, 2010, 10:42:47 PM »
Link to Mod



Simple Audio Video Embedder

By vbgamer45


Compatibility
Works with both SMF 2.0.x and SMF 1.1.x

Description
An auto embed media modification for SMF that takes links for popular video websites and adds a player directly into the post or bbc area of your website

Supports the following sites:
Facebook   
Metacafe
Youtube   
Vimeo
College Humor
Google Video
Veoh
Ustream
Youku
Rutube
Novamov
myvideo.de
LiveLeak.com
Sevenload.com
Gametrailers.com
funnyordie.com
Mevio
Vine
Local streaming of popular media formats wmv,avi,flv,mov,mp4,ra,ram,rm
And many 100+ more!

4.2
+Added support for Pastebin
+Added support for Ted Talks
+Added more types of urls for twitch to support embedding

4.1.4
!Fixed some bugs with the dailymotion embed code
+Version check now use ssl since https://www.smfhacks.com now works!

4.1.1
+Added support for imgur


4.1
+Added support for multiple regexmatch for the same website
+Now supports short dailymotion links

4.0.4
+Added support for streamable

4.0.3
+Added support for https for liveleak
!Made a fix for zippyshare

4.0.2
!Improvements to Facebook v5 and v4 videos. Fixed missing blockquote tag and added a width setting


4.0.1
!Fixed bug with multiple instragram links embedded.

4.0
!Make regex searches less greedy fixes issue with embedding multiple videos for certain video types in a post thanks to  shawnb61
+Added support for https for local .ogg and .webm files


3.6.5
!Fixed issue with local embeding of files which might take part of the filename out thanks to  shawnb61
!Fixed height issue for some local embeded files thanks to  shawnb61

3.6.4
!Fixed unclosed <blockquote> in facebook videos
+Added max,width height support for facebook videos


3.6.3
!Fixed bug with local mp4

3.6.2
!Added support for http links for instagram
!Fixed support for www. instagram links

3.6.1
!Short youtube use https or http depending on type  passed.

3.6
+Added support for sendvid
+New facebook version v5 for videos. You must check that option in settings
!Fixed instagram for SMF 1.1.x
+Updated jibjab regex


3.5.2
+https support for local media files

3.5
+Added support for instagram

3.4
+Added support local ogg and local webm media files
!Updated mp4 local to use the video tag instead of quicktime player

3.3
+Now supports the latest facebook video links 4th edition.


3.2
!Fixed regex for local/remote files for common extensions such as .wmv, .avi, .flv etc

3.1
+Added support for buto.tv
!Fixed some xhtml validation issues for some of the embed code for sites/local media.

3.0.2
+Added support for Twitch.tv

3.0
+Added setting to disable autoembedding for mobile devices instead will just show the link as normal.
+New regex replacement function thanks to petitchevalroux
+Updated dailymotion embed code thanks to petitchevalroux
+Added https support for vimeo.com
+Added support for coub.com


2.7.1
!Updated/fixed vine.com url sharing code

2.7
+Added support for new facebook video url code

2.6
+Youtube embed code now switched to iframe which supports html5
!Fixed bug when editing post in SMF 2.0 link would disappear using the editor.
!Removed justin.tv since the site no longer works

2.5.1
!Removed option to disable embeding in signatures too buggy. Requires a full uninstall then install the new version to take affect.


2.4.1
!Fixed minor bug in displaying disable signature checkbox setting

2.4
+Added option to disable signature autoembed thanks to Arantor for the method

2.3
+Added SoundCloud Support
!Fixed Facebook picture/video emdeding. Also supports https links now

2.2
+Added support for Vine videos
+Added support for Seenive videos

2.1.1
!Make sure autoLinkUrls is enabled when the modification is installed.

2.1
+New copyright removal system easy to use!

2.0.7a
+Added support for google maps with https

2.0.8
+New embeding support for Facebook Videos/Pictures

2.0.7
+Added support for youtube links for https
!Fixed on upgrade/reinstall keeping the sites still enabled.
!Fixed youtube feature=player_embedded

2.0.6
+Added checkall function to enable/disable all embeding sites at one time.
+Added link for copyright removal purchase option

2.0.5 Mega Edition
!Megavideo removed :(
Easter Egg/Tribute to MegaUpload/Kim Dotcom added.


2.0.4
!Fixed bug with - in video url in short youtube urls  thanks DaleM

2.0.3
!Fixed bug with liveleak videos

2.0.2
!Fixed issue with default movie height/width if you have the defaults to zero to now correctly use the normal size of the movie found on those movie sites
!Copyright checks to make sure it is not doubled
!Fixed spelling of ustream.tv
+Added support for own3d.tv

2.0.1
+Added wma streaming support
!Fixed some height,width settings for streaming sites

2.0
+Added local streaming of wmv,avi,flv,mov,mp4,ra,swf,ram,rm files
!Fixed short youtube.be thanks DaleM
!Fixed g4tv to support the www DaleM

1.1.4
+Added support for new youtube short url domain
!Fixed some issues with google map embed

1.1.3
!Updated zippyshare to use the same emded code both types
+Added Google Maps Support

1.1.2
+Added support for two types of ZippyShare links!

1.1.1
+Added more support for height/width changing
!Fixed bug in 1.1 with comedycentral

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
1.0.12
+Added support for HostingCup.com
+Added support for MoveShare.net
+Added support for HostingBulk.com


1.0.11
+Added support for VideoBB.com

1.0.10
+Added support for xfire
+Added support for worldstarhiphop.com
+Added support for tinypic videos
+Added support for JibJab thanks to DaleM
+Added support for G4tv thanks to DaleM
+Added support for IGN thanks to DaleM
+Added support for Joystiq thanks to DaleM

1.0.9
!Fixed bug with youtube with the #ws in the url not working correctly
+Added support for bungie.net

1.0.8
!Fixed bug in stream.cz
+Added support for trophy-clips.com
+Added support for Yahoo videos

1.0.7
+Added support for clipshack.com
+Added support for Mpora
+Added support for izlesene.com
+Added support for rambler.ru videos
+Added support for Tangle.com

1.0.6
+Added support for blogdumpsvideo.com
+Added support for reuters
+Added support for MarketNewsVideo
+Added support for Clipsyndicate
+Added support for NyTimes

1.0.5
+Added support for ESPN
+Added support for CNN iReport
+Added support for PBS
+Added support for TNT
+Added support for Comedy Central
+Added support for Stream.cz
!Fix bug with megavideo not support non www urls


1.0.4
+Added support for Stagevu
+Added support for Mail.ru
+Added support for Twitvid
+Added support for Trtube
+Added support for Blog.tv
+Added support for MegaVideo
+Added support for VH1
+Added support for BET

1.0.3
!Renamed to Simple Audio Video Embedder
!Fixed issue with php4 support no longer using file_put_contents
+Added support for Justin.tv
+Added support for schooltube.com
+Added support for MySpace
+Added support for Mefeedia
+Added support for Crackle
+Added support for DailyMotion
+Added support for clipfish.de
+Added support for Goear.com
+Added support for clipmoon

Support Links
SMF Package Parser
Manual Installation Of Mods
How Do I Modify Files?
« Last Edit: December 21, 2014, 06:04:48 PM by SMFHacks.com Team »
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Ken.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • TinyPortal Rocks!
    • Our FamilyForum
Re: Auto Embed Media Pro
« Reply #1 on: August 09, 2010, 10:54:49 PM »
Nice mod vbgamer45, works as expected:
http://www.ourfamilyforum.org/tp098/index.php?topic=2.0


...no errors to this point.
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


Offline franklinrony

  • SMF Hero
  • ******
  • Posts: 1,958
  • Gender: Male
  • Sharedownload SEO
    • franklinrony on Facebook
    • @franklinrony on Twitter
    • share download
Re: Auto Embed Media Pro
« Reply #2 on: August 09, 2010, 10:55:59 PM »
oh, good mod and good work , congrats
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,273
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Auto Embed Media Pro
« Reply #3 on: August 09, 2010, 10:56:40 PM »
Plan to add more sites as time goes open to suggestions!
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 Ken.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • TinyPortal Rocks!
    • Our FamilyForum
Re: Auto Embed Media Pro
« Reply #4 on: August 09, 2010, 11:06:47 PM »
Being able to display self-hosted content would be nice.
Don't know how much interest there would be in having an audio only function available in the mod but that may be useful to some forums... my site displays a few self-hosted MP3's in a board for poems and music and others might be doing simular postings in their boards.
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,273
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Auto Embed Media Pro
« Reply #5 on: August 09, 2010, 11:10:51 PM »
So it is something like http://www.yourforum.com/mymusic/mymusicfile.mp3 would need to think of player to do that to display will read up on that.
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 Ken.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • TinyPortal Rocks!
    • Our FamilyForum
Re: Auto Embed Media Pro
« Reply #6 on: August 09, 2010, 11:20:07 PM »
Yes, that's the general idea.

Currently my live site is using Aeva Media and that works well, but I already have a gallery (yours) so a simpler more compact video and audio mod might be something for me to use.
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Auto Embed Media Pro
« Reply #7 on: August 09, 2010, 11:41:42 PM »
Very nice vbgamer45 welldone :)

But why change core coding in QueryString.php ?

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: Auto Embed Media Pro
« Reply #8 on: August 09, 2010, 11:52:55 PM »
Does this work with aeva mod without problem or?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,273
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Auto Embed Media Pro
« Reply #9 on: August 10, 2010, 12:05:39 AM »
I wouldn't suggest to run both at the same time. That could cause unexpected results
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 Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: Auto Embed Media Pro
« Reply #10 on: August 10, 2010, 03:33:20 AM »
Excellent mod, thanks for making it

Offline Afro

  • SMF Hero
  • ******
  • Posts: 1,855
  • Gender: Male
  • http://twitter.com/afrowall
    • Global Runs
Re: Auto Embed Media Pro
« Reply #11 on: August 10, 2010, 04:58:58 AM »
Does this work with aeva mod without problem or?

I was gonna ask the same. I dont think so.

Offline Ken.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • TinyPortal Rocks!
    • Our FamilyForum
Re: Auto Embed Media Pro
« Reply #12 on: August 10, 2010, 09:05:46 AM »
Does this work with aeva mod without problem or?

I was gonna ask the same. I dont think so.

Have not tried to install both to the same forum, but... because they are both trying to do the same function it would seem a very good bet that there would be conflicts.
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: Auto Embed Media Pro
« Reply #13 on: August 10, 2010, 12:02:15 PM »
Simple and nice.
Congratulation :-)

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Auto Embed Media Pro
« Reply #14 on: August 10, 2010, 12:47:35 PM »
Does this work with aeva mod without problem or?

Is this not basically the same thing as AEVA, but well more compact?

If so it questions your question?
Why would you need both?

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Auto Embed Media Pro
« Reply #15 on: August 10, 2010, 09:30:43 PM »
So it is something like http://www.yourforum.com/mymusic/mymusicfile.mp3 would need to think of player to do that to display will read up on that.

That's a great idea, also something to go with that, a little bit more tricky however

Self hosted content, but without showing the source of the content, making it impossible to download.

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,273
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Auto Embed Media Pro
« Reply #16 on: August 10, 2010, 09:32:25 PM »
Well if the content plays it has to be able to be downloaded. I can rip nearly any flash player video file and find the .flv or video source using a packet sniffer.
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 ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Auto Embed Media Pro
« Reply #17 on: August 10, 2010, 09:39:46 PM »
Their is one player, for audio that does it, but I forgot which one it is, it was talked about here, maybe write a player, for the hosted content lol

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Sabre™

  • SMF Hero
  • ******
  • Posts: 2,527
  • Gender: Male
  • IF IT AINT BROKE, I CAN FIX IT TILL IT IS!!
Re: Auto Embed Media Pro
« Reply #18 on: August 10, 2010, 11:55:52 PM »
Nice n easy.
Good job vb :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,273
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Auto Embed Media Pro
« Reply #19 on: August 11, 2010, 12:02:22 AM »
Taking requests on any video/media sites that you would like to see added.
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