News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Simple Audio Video Embedder

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

Previous topic - Next topic

SMFHacks.com Team

Link to the mod



Simple Audio Video Embedder

By vbgamer45


Compatibility
Works with SMF 2.1.x, 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
TikTok
Instagram
Pastebin
Metacafe
Youtube   
Vimeo
Google Maps
Veoh
Youku
Rutube
funnyordie.com
Mevio
Local streaming of popular media formats wmv,avi,flv,mov,mp4,ra,ram,rm
And many 100+ more!
7.0.5
+Fixed support for sendvid.com with https
!Fixed a few other video sites that had wrong regex


7.0.4
+Added support for imgur albums

7.0.3
+Added support for Threads.net Posts
!Removed database table that isn't used.

7.0.2
+Added support for Threads.net

7.0.1
+Added support without .www for youtube shorts

7.0
+Added the Play Media Attachments mod by Dougiefresh to this mod as it is a related function.
Allows audio  files MP3, WAV, WMA, AAC, and audio OGG files
Allows video files  MP4, M4A, M4V, WebM, WMV, MOV, and video OGG files
Requires uninstall of old version of this mod S.A.V.E. then install the new version to take affect.

6.0.9
+Added support for embedding remote pdf files links that end in .pdf

6.0.8
+Added support for YouTube Shorts


6.0.7
+Added support for fb.watch

6.0.6
+Added support for Instagram reel media type links

6.0.5
+Added start time support for youtube videos

6.0.4
!Fixed xhtml validation issues for some sites

6.0.3
+Added support for Twitch Channels and Clips
!Removed s in Facebook v5 code link

6.0.2
+Added support MSNBC videos
+Added support NBC News videos

6.0.1
+Added support for Reddit posts
+Added support for twitch clips thanks to  tjbalon
+Added support for github gists thanks to  tjbalon
+Updated spotify entry (now supports artist, track, playlists, and albums) hanks to tjbalon

6.0
+Added a setting to show the original link after the embed is added.
+Added a setting to set the maximum number of emdeds to display per page load.
+Redid the entire replacement function with a callback. Allowed more control for the new setting features added and provides a better way to count number of embeds loaded.

5.1.6
+Added support for codepen.io
+Added back support for ustream.tv

5.1.5
+Added support for Gfycat

5.1.4
!Fixed Twitch.tv embed code.
Note Twitch only works on SSL sites!

5.1.3
+Added support for videoclip.bg

5.1.2
+Added support for Telegram

5.1.1
+More support for youtu.be/watch?v=

5.1
!Removed old sites from new installs that no longer work

5.0.5
+Added TikTok support

5.0.4
+Added support for Buzzsprout

5.0.3
!Fixed mobile detection for PHP 7.2+ so no warning messages logged

5.0.2
+Added support for Yarn video site.

5.0.1
+Added support for local/remote MP3 files

5.0
!Must Update. Fix security issue with Local/Remote FLV fusing player_flv_maxi.swf FLV Player.
Have removed the option to play FLV videos. Make sure this file is removed videos/player_flv_maxi.swf from your forum

4.5.3a
+Added install support for SMF 2.1 RC1

4.5.3
+Added support for vbox7 sponsored by tomhafner

4.5.2
+Added support for DTube

4.5.1
!Updated imgur to support https:// and this format of links https://i.imgur.com/AAAAA

4.5
+Added support for Facebook Posts thanks to butch2k
+Added support for USNews.com thanks to butch2k
+Added support for local remote ogm and ogv files

4.4
+Added option to include a div around all embeds with a custom classname for you to style control via css/javascript
+Updated facebook v5 embed code thanks to butch2k

4.3
+Added support for spotify thanks to butch2k
+Peformance increase for 2.0 not parsing for search engine robots thanks to shawnb61

4.2.1
+Added support for vid.me

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?
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Ken.

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.


franklinrony

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----

vbgamer45

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

Ken.

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.


vbgamer45

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

Ken.

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.


ɔɔɔɔɔɔuɥoɾ

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

akbora

Does this work with aeva mod without problem or?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

vbgamer45

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

Spoogs

Excellent mod, thanks for making it

Afro

Quote from: akbora on August 09, 2010, 11:52:55 PM
Does this work with aeva mod without problem or?

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

Ken.

Quote from: Afro on August 10, 2010, 04:58:58 AM
Quote from: akbora on August 09, 2010, 11:52:55 PM
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.


MaXiForum.cz

Simple and nice.
Congratulation :-)

ɔɔɔɔɔɔuɥoɾ

Quote from: akbora on August 09, 2010, 11:52:55 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

ɔɔɔɔɔɔuɥoɾ

Quote from: vbgamer45 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.

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

vbgamer45

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

ɔɔɔɔɔɔuɥoɾ

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

Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


vbgamer45

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

Advertisement: