Simple Audio Video Embedder - 90+ Sites
My first addon for Elkarte
For Elkarte 1.1.x and 1.0.x
An auto embed media modification for that takes links for popular video websites and adds a player directly into the post or bbc area of your website
Supports over 90+ sites such as
Youtube
Facebook
Instagram
Threads
Twitter
Vimeo
College Humor
And many more!
Nice to see you vbgamer!
Let me know if you want me to add it to the http://addons.elkarte.net site ... Just takes a PR as described
here (http://www.elkarte.net/community/index.php?topic=2325.0)
Thanks will do.
Done submitted the pull request.
Pulled it in, its on the site (had to add a space after a : as yaml is very unforgiving)
thanks! Will keep that in mind.
Update
4.1
+Added support for multiple regexmatch for the same website
+Now supports short dailymotion links
+Added support for streamable
+Added support for https for liveleak
Update!
4.2
!Fixed some bugs with daily motion links
!Version checking now uses SSL
This mod whitescreens 1.1RC2. Could there be plans for an update? Pretty please? ;D
hello
i have a problem "HTTP ERROR 500" with Simple Audio Video Embedder
https://www.youtube.com/watch?v=gXYsrVtkQZs&feature=youtu.be
please help me
Hi Kimo and welcome. :)
hmm... 500 is always a tricky error.
The first two options that come to my mind are:
1) a problem with the addon (first because I can check it immediately),
2) mod security.
Regarding 1, I can't see anything wrong with the code (but I cannot install it for testing right now).
In the meantime, you could try to contact your host and see if they have mod security enabled. If this is the case, then they are in the best position to fix the issue.
Do note: after your next reply, I'll move this topic to the support board. ;)
http://www.elkarte.net/community/index.php?topic=4212.msg33807#msg33807
Are you running 1.1? Hopefully the author will provide a fix. Until then, you can either remove the hooks from the database or delete the addons source files. Thanks to
@live627 for the suggestion.
KIMO is using 1.0, so I guess the bug is valid for both versions. O:-)
Hhmm...could be! Sorry, couldn't tell what version watching from a phone. O:-) Perhaps this will prompt a repair. Doubly good if it's an issue common to both. 1.1 whitescreens immediately on install, if that means anything at all.
Will need to check it out and see what changed between 1.0.x and 1.1.x
Just to note that it could be php versions differences as well...
Good point! Running 7.0 here. Thanks for that.
Playing around on my 'test' site, late into the night and installed this plugin. Without seeing this post. I can also confirm, that it blew my site up and needs
addressing (http://addons.elkarte.net/enhancement/Simple-Audio-Video-Embedder.html).
Oops: Using v1.1
Now supports Elkarte 1.1.x!
5.0
+Added support for 1.1.x Elkarte
+Added imgur support
+Added youtube playlist support
+Added support for pastebin
+Added support for Ted Talks
+Added support for more types of twitch.tv urls
Oh yes! Thanks a million gamer!
Outstanding!
Just installed it and everything works as advertised, thanks Gamer!
Heck yeah! Thx
The videos protrude over the right edge when I look at the forum pages with my smartphone (Samsung Galaxy S7 Edge). The pages are pushed together to about 80%. This is also the case with the default settings for the width and height of the videos.
How can I change it so that the videos automatically adjust to the width of the forum?
Right now they are based on fixed width for most of the videos unless the built in code supports responsive.
Oh, ok.
I've disabled embedding in mobile devices now, so that the videos in such now are played with the ElkArte player.
There is a problem with the recognition of just a youtube channel and not posting a youtube video,
see here this example:
It thinks I have posted a link to a youtube video,
but actually it was just the link to a user“s Youtube channel...
https://forum-alternative-antriebe.de/index.php/topic,7884.msg136274.html#msg136274
Regards, Stefan.
I installed the simple video/image addon OK but no new icon or anything shows on the new post page for it. What have I missed please?
To use you just post the video site url into your post. Make sure you checked all the video settings in the admin setting of the mod that you wish to embed.
Update!
5.1
!Updated imgur to supprot https:// and this format of links https://i.imgur.com/AAAAA
+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
+Added support for spotify thanks to butch2k
Security Update
5.2
!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
Update:
5.3
+Added TikTok support
+Added support for Buzzsprout
+Added support for local/remote MP3 files
+Added support for Yarn video site.
5.4
!Removed old sites no longer supported for new installs only!
HostingBulk.com
HostingCup
Movshare.net
videobb.com/
smotri.com
g4tv.com
www.xfire.com
Trophy-clips.com
Tangle.com
video.mpora.com
clipshack.com
Stream.cz
blogtv.com
twitvid.com
stagevu.com
goear.com
Clipfish.de
mevio.com
gametrailers.com
sevenload.com
MyVideo.de
novamov.com
UStream.tv
collegehumor.com
seenive.com
vine.com
Jpopsuki.tv
vid.me
tube.com
Update
5.5
!Fixed Twitch.tv embed code
+Added support for videoclip.bg
+Added support for Telegram
+More support for youtu.be/watch?v=
Haven't try this but merely want to ask whether video in gdrive or gphotos can be embeded as well?
That is not supported at this time. Would need to see example links. And they would need to be public urls to work.
Basically to allow others to access, we set as shared to public and provide its link. It uses youtube api if I am not mistaken. I'll try to set up one video for public and share its link here. May be you can try thereafter.
Major update!
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.
+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) tjbalon
+Added support for codepen.io
+Added back support for ustream.tv
+Added support for Gfycat
Have added the option to order copyright removal now works. For $10 @ https://www.elkartemods.com/copyright_removal.php it will send an email with the key once purchased.
It amazes me that this add-on needs to add new sites manually while mine (without any copyright removal needed) does not:
https://www.elkarte.net/community/index.php?topic=5178.0
It just works differently. Pros and cons to both mods. Looks like yours uses curl which be be more intensive on lookups. But I do like seeing curl_multi_getcontent that is very interesting will have to play around with that for some projects.
Update
6.1
+Added support for Instagram reel media type links
+Added start time support for youtube videos
+Added support for Twitch Channels and Clips thanks to tjbalon
+Added support MSNBC videos
+Added support NBC News videos
!Fixed xhtml validation issues for some sites
Thank's a lot !
EDIT : the french translation is not in the zip.
You can find it there : https://www.elkartemods.com/index.php?topic=5.msg138#msg138
It doesn't work for me (Elkarte 1.1.8, php 7.4).
The original link is here but the player no :
(Link-8520)
Which link? If you can let me know. And does the player appear or not?
The link is just under the video : https://youtu.be/pm9yz2mKLn0
But i just see now it's not youtube but youtu.be !
I try with a real link from youtube ans comme back.
Same thing with a real youtube link : https://www.youtube.com/watch?v=O3VPs9b_HZE
(Link-8632)
Hmm both seem to work on my test site
https://www.elkartemods.com/index.php?topic=37.new#new
Hi,
Both are working, but i remember there was like a window banner with the name of the video site and you could open or close as you wanted : this banner is no more present are it's my memory
Thank's,
Philippe
That would be in the settings area for the mod. You can check and uncheck which sites you want to embed.
I found an exemple about what i mean :
- banner opened
(Link-8723) - banner closed
(Link-8725) With this new version the banner is not here
That banner is part of the built in ElkArte video embed (which is only for youtube, Vimeo and DM) Lets do a test and see if it still works on 2.0 with all the other changes
https://www.youtube.com/watch?v=aNYWl13IWhY
Thanks a lot : i thought this banner was with Simple Audio Embedder and didn't understoud why i got it sometimes, a few times, but not always.
Sorry
@vbgamer45 !
When I tick in the settings to get the original link under the video, with a youtube video il don't get the link but the video with the banner, and the video is displayed twice :
(Link-8755)
I'm not using this add-on, but I guess you can solve that by disabling Enable auto-embedding of video links option in Admin > Forum > Post & Topic
You are right
@radu81 : thank you.
I didn't remember changing anything between the old version and this update, but this option is not compatible with the addon and it makes sense.
\sources\subs\Post.subs.php?
Update!
6.2
+Added support for embedding remote pdf files links that end in .pdf
+Added support for YouTube Shorts
+Added support for fb.watch
6.3
+Added support for Threads.net
-Removed zippyshare
Hi,
does the Simple Audio Video Embedder also support Mastodon or is that planned?
- https://joinmastodon.org
- https://en.wikipedia.org/wiki/Mastodon_(social_network)
Does not right now.
But might be possible. I would need to see sample links
6.4
+Added support for imgur albums
+Added support for Threads.net Posts
!Removed database table that isn't used.
Update
7.0.6
+Added support for youtu.be ?si= urls