News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

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

Update!

3.5
+Added support for instagram
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

vbgamer45

Quote from: bjornforum on September 04, 2015, 08:17:32 AM
PS. Also note that Ohara has a image as placeholder and only loads (heavy) youtube embed code after the image is clicked.
I checked out the links. That is not a feature I will be able to match. That is custom scripted not default youtube embeding code. What that mod is doing is custom css ans scripting to handle it to display in that matter.
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

bjornforum

Ha I was just looking for instagram integration as well and there you go!
If you would remove all the require "cache" dir lines from the XML it would install without modification in my case btw. And this dir is default for SMF so not really needed to check it I't say.

Would you be able to make YT responsive like the Ohara mod? Would be nice to use 1 plugin for all embeds of course :)

vbgamer45

The cache folder has a file that I use to store the embeds to make it run faster.

Youtube responsive would currently be out of scope since that is really specific just to one video site. I might look into responsive for all videos at some point though.
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

bjornforum

Ok clear.

Instagram with "-" in ID doesn't seem to auto embed:
https://instagram.com/p/6Z-s7qpHlC/

SMFHacks.com Team

Quote from: bjornforum on September 04, 2015, 08:45:29 AM
Ok clear.

Instagram with "-" in ID doesn't seem to auto embed:
https://instagram.com/p/6Z-s7qpHlC/
Fixed download the latest version
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


bjornforum

Multiple Instagrams in 1 post doesn't work:

YABR (Yet Another Bug Report)

Make a post containing this:

SHOWN

https://instagram.com/p/6UJ0jMpHmb/

NOT SHOWN

https://instagram.com/p/6Z-s7qpHlC/


The world SHOWN is shown, as is the first Instagram. The second text and instagram are not shown.

BYUFanatic

#2168
Really, REALLY weird...

Ok, I replied before that the latest edition - 3.4 - did finally load the internal chrome video player. Unfortunately, the play button was grayed out. (Video loads fine if I put the link on the address bar of the browser.)

I tried an experiment - putting 3 separate video links in one post to see if one of them would play.

The first one, PRESTO! It works.

The other two do not even show.

Ok, maybe it needs extra text besides just the link... so I put "some random text" after a single link. Nope, didn't work.

So, I put two links in and put some random text before, between, and after. The first and last lines of text along with the first video show. The middle line (between video links) and the second link don't show.

So, long story short -

To make it work you have to put the link in twice. Can't have any text between the links as it won't show. This is definitey a coding issue of some sort, either with SMF or with the mod, but happy to report I have been able to get it to work at least.

ADDENDUM - I also just noticed that ALL text inside of the post becomes a clickable link (which obviously returns a 404 error).

josx2

Quote from: SMFHacks.com Team on August 31, 2015, 02:23:27 PM
3.3
+Now support the latest facebook video links 4th edition.

can you shed some light on how the FB video links are used?  i'm not havng any luck getting it to embed in a post.  TIA

vbgamer45

Just post the link into the post and that should be it.
it takes https://www.facebook.com/name/####/#####
now
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

luuuciano

Quote from: vbgamer45 on September 04, 2015, 02:38:07 PM
Just post the link into the post and that should be it.
it takes https://www.facebook.com/name/####/#####
now

the old one is still supported? all the old links are useless because the facebook change?
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

vbgamer45

Quote from: luuuciano on September 04, 2015, 09:10:11 PM
Quote from: vbgamer45 on September 04, 2015, 02:38:07 PM
Just post the link into the post and that should be it.
it takes https://www.facebook.com/name/####/#####
now

the old one is still supported? all the old links are useless because the facebook change?
No idea. Old method should still emebed. Not sure if facebook still keeps them though.
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

BYUFanatic

Quote from: BYUFanatic on September 04, 2015, 12:37:46 PM
Really, REALLY weird...

Ok, I replied before that the latest edition - 3.4 - did finally load the internal chrome video player. Unfortunately, the play button was grayed out. (Video loads fine if I put the link on the address bar of the browser.)

I tried an experiment - putting 3 separate video links in one post to see if one of them would play.

The first one, PRESTO! It works.

The other two do not even show.

Ok, maybe it needs extra text besides just the link... so I put "some random text" after a single link. Nope, didn't work.

So, I put two links in and put some random text before, between, and after. The first and last lines of text along with the first video show. The middle line (between video links) and the second link don't show.

So, long story short -

To make it work you have to put the link in twice. Can't have any text between the links as it won't show. This is definitey a coding issue of some sort, either with SMF or with the mod, but happy to report I have been able to get it to work at least.

ADDENDUM - I also just noticed that ALL text inside of the post becomes a clickable link (which obviously returns a 404 error).


Hmmm... no feedback on this issue/bug?

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

BYUFanatic

Quote from: vbgamer45 on September 05, 2015, 01:24:11 PM
Haven't looked into it yet.

Lol. Ok. I have been able to work around it, but it does pose an interesting situation.

alexetgus

Hi!

The attribute "sandbox" on the iframe generated would be a big plus for safety!

Reminder: Google maps does not work ...

vbgamer45

The sandbox element not sure if people would want that. Seems to disable autoplay content such as video and other stuff
http://www.w3schools.com/tags/att_iframe_sandbox.asp
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

Biology Forums

Why doesn't this video embed?

www.youtube.com/watch?v=DFfRqoIdArM

vbgamer45

Quote from: Shuban on September 05, 2015, 11:17:16 PM
Why doesn't this video embed?

www.youtube.com/watch?v=DFfRqoIdArM
That embeds on on my test.  Site make sure you include http://
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: