• Welcome to Simple Machines Community Forum. Please login or sign up.

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

September 05, 2021, 11:22:23 AM #3443 Last Edit: September 05, 2021, 12:04:18 PM by Fisch.666
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

October 13, 2021, 07:30:47 AM #3451 Last Edit: October 13, 2021, 07:41:12 AM by SulevFan
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

Advertisement: