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

AllMassive

@vbgamer45: pls reimplement the former behavior.

i also donated and recieved a version which supported for.ex b itchute.com, but its not contained in the latestest official rls - why?

vbgamer45

It's in the release that I sent you should still be there on you site shouldn't disappear.
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

vbgamer45

Minor update
6.0.4
!Fixed xhtml validation issues for some sites
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

Fisch.666

#3443
Initially mentioned in https://www.simplemachines.org/community/index.php?topic=114291.msg4096845#msg4096845 i would like to report it directly here:

The AutoEmbedMediaPro.xml, AutoEmbedMediaPro2.xml and AutoEmbedMediaPro2.1.xml install files contains various trailing tabs and/or spaces for added code like e.g. (just to name a few examples):

$sourcedir/Admin.php (includes one unnecessary tab and adds four tabs after SMF core code):

                ),
   
            ),
        ),

        'layout' => array(
            'title' => $txt['layout_controls'],
               

$languagedir/Modifications.english.php (three trailing tabs after the end:
// END Auto Embed Media Pro  Text Strings           

and so on.

At least the modification of SMF core code could bring conflicts with oder mods or AFAIK also with possible SMF automatic patches in the future.

SulevFan

Are timecodes in the URLs for YouTube broken?

I tried both the new short form youtu.be and youtube.com URLs and neither pass the timecode through to the post.

  https://youtu.be/RmZ-FuBThuQ?t=55

nor

https://www.youtube.com/watch?v=RmZ-FuBThuQ&t=55s

nor

https://www.youtube.com/watch?v=RmZ-FuBThuQ&t=55


AM I missing something or is the parsing wrong?

I know we're pretty outdated on our server, so the regex may be deficient.  Ubuntu 16, and PHP 7.0.33 (which can't be resolved in the shorter term).


I should also mention I downloaded and installed the most recent version of this package today.




vbgamer45

I don't believe it is supported yet. I have to check 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

SulevFan

Quote from: vbgamer45 on October 07, 2021, 10:17:04 AMI don't believe it is supported yet. I have to check though

I can do one of those $15 payments if it is not supported. :) 

I looked through the regex, and it appeared that it may be looking for it, I just can't tell if it does anything with it.

vbgamer45

Update
6.0.5
+Added start time support for youtube videos
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

nax

I can't seem to get Facebook pics or videos to work with this mod. For video I copy the address e.g.

https://video-lhr8-1.xx.fbcdn.net/v/t42.1790-2/244206283_220732993376967_8798996542663064845_n.mp4?_nc_cat=1&ccb=1-5&_nc_sid=985c63&efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9zZCJ9&_nc_ohc=2qbdX_VOlQEAX8xdpCR&tn=SQwY2JHTRNre6ubI&_nc_ht=video-lhr8-1.xx&oh=e031ff86bfce8dfb9dcffc9a46bcffa4&oe=61608A69&source=misc&id=1013963969383362&noredirect=0&watermark=0&refid=52&__tn__=FH-R

and just paste this into a SMF post and expect the mod to parse it and display the video but the post just shows the code above.

Facebook pics are the same, I copy the url of the pic and post it into an SMF post e.g.

https://scontent-lhr8-1.xx.fbcdn.net/v/t1.6435-9/141850588_10159313263611289_3510725972126589210_n.jpg?_nc_cat=100&ccb=1-5&_nc_sid=730e14&_nc_ohc=ONgwTJQloiEAX-n61M0&_nc_ht=scontent-lhr8-1.xx&oh=d836840b2c94ad23b000bb3ca9b95d56&oe=6187AB72

Again all that is displayed is the code above.  What am I missing? All the Facebook options are ticked in the mod control page.

vbgamer45

The mod doesn't suppor the direct links to the video file itself or pictures
It supports links that start with https://www.facebook.com/
IE posts.
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

nax

Right, thanks I have a better understanding now.

SulevFan

#3451
Quote from: vbgamer45 on October 08, 2021, 11:03:53 AMUpdate
6.0.5
+Added start time support for youtube videos


I'm sorry, somehow I didn't get an update notification, so I was not alerted. Thank you so much.

Quick edit. Downloaded it and it works a charm. Much appreciated.

vbgamer45

Glad that fixed the issue for you!
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

planet9

Any plans to support Rumble?


vbgamer45

Might be tricky to add support for that have to find a way to ignore them
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

spiros

Is there a way not to embed a specific youtube video and have it just as a link?

vbgamer45

I think if you put nobbc tags around it. Otherwise you have to change the url enough.
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

spiros

Looks like nobbc tags do not create an active link, just plain text, ie

[nobbc][url=https://www.youtube.com/watch?v=8lFEGjcC53Y]test link[/url][/nobbc]
Would be good if there was a way to simply link to a video without it being embedded.

Kindred

Except that defeats the purpose of the AUTOMATIC part of the mod :P
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: