Simple Audio Video Embedder

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

Previous topic - Next topic

vbgamer45

Yup that is good one too. I think I will need to add an option to select between the two. I did the same with RSS Feed Poster to work best for certain configurations.
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

Arantor

I wouldn't even be configurable. If curl is available, use it, if not use SMF's routine. Giving people options is usually counter intuitive.

0Connors

Hi everybody,

Firstly thank for your work !!

Do you think, you can add Twitch.TV to your list ?  :P

Have a good day,

Site : www.pafteam.com

Projet : www.pafteam.com/beta-test/maj-site/

Version SMF : 2.0.9

Steve

DO NOT pm me for support!

SMFHacks.com Team

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

Shambles

Good work.

I've noticed over the past 2 weeks that a lot of my members' Youtube links are no longer converting to embedded content - I'm having to perform surgery on their links. I'll get a list together of failing URI types.

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

Shambles

Quote from: Shambles
I've noticed over the past 2 weeks that a lot of my members' Youtube links are no longer converting to embedded content - I'm having to perform surgery on their links.

It's interesting that "standard" link type stuff is also misbehaving. The YT-provided links haven't changed as far as I can see - the only timeline I have is since installation of 3.0.1

Typical URL

https://www.youtube.com/watch?v=juRZLrUkDtU

.. has to be massaged into

https://www.youtube.com/watch&v=juRZLrUkDtU

0Connors

Quote from: SMFHacks.com Team on November 13, 2014, 04:17:56 PM
Update!
3.0.2
+Added support for Twitch.tv

Thank you for this Update.

I have another suggestion : Do you think you can add an option to center automatically the videos in a message ?

Thank you again !
Site : www.pafteam.com

Projet : www.pafteam.com/beta-test/maj-site/

Version SMF : 2.0.9

vbgamer45

Quote from: Shambles on November 14, 2014, 04:01:06 AM
Quote from: Shambles
I've noticed over the past 2 weeks that a lot of my members' Youtube links are no longer converting to embedded content - I'm having to perform surgery on their links.

It's interesting that "standard" link type stuff is also misbehaving. The YT-provided links haven't changed as far as I can see - the only timeline I have is since installation of 3.0.1

Typical URL

https://www.youtube.com/watch?v=juRZLrUkDtU

.. has to be massaged into

https://www.youtube.com/watch&v=juRZLrUkDtU
odd.
https://www.youtube.com/watch?v=juRZLrUkDtU works fine on my test site....
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

Shambles

Quote from: vbgamer45
odd.
https://www.youtube.com/watch?v=juRZLrUkDtU works fine on my test site....

Spooky eh?

I run parallel websites (live & test)

i30ownersclub.com
i30ownersclub.uk

In the .com I'm at version 3.0.2 and the above link fails to render as an embed.

In the .uk I'm at version 2.6 and it renders fine.

There are no other mod differences, so I'll push my .uk version to your 3.0.2 later and see how it goes.

vbgamer45

Yeah very odd. I haven't touched the youtube links in a long time.

Something is changing the ? to & I would do some other tests on random urls/made up urls and see if it gets changed.
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

Shambles

I'm actually changing the '?' to '&' to get it embedded properly  8)

The raw link - as provided by youtube and containing '?' - embeds fine on 2.6 but not 3.0.1 or 3.0.2

As I said, I'll do some work myself to bottom it out, and appreciate that which you've done.

Steve

You may have said already but I forget, are you clicking the share button on YouTube videos and using that link?
DO NOT pm me for support!

Shambles


Shambles

Ok. versions 3.0.2 and 3.0.1 remove the rendering ability.

Regressing to version 2.7.1 restores it, FYI  :o

Shambles

Additional info:

Vimeo video types also fail to render as embedded objects, until 2.7.1 is reinstalled.

Typical URL...

http://vimeo.com/100670266

vbgamer45

Quote from: Shambles on November 15, 2014, 08:48:34 AM
Additional info:

Vimeo video types also fail to render as embedded objects, until 2.7.1 is reinstalled.

Typical URL...

http://vimeo.com/100670266
That link works on my test 2.0.x board...

2.7.1 to 3.0.2 no changes in youtube...
Vimeo only change was https support and using iframe instead of object

Make sure you have this change in your post.php


<file name="$sourcedir/Post.php">
<operation>
<search position="replace"><![CDATA['<img>']]></search>
<add><![CDATA['<img><object><embed><div><iframe>']]></add>
</operation>
<operation>
<search position="replace"><![CDATA['<img>']]></search>
<add><![CDATA['<img><object><embed><div><iframe>']]></add>
</operation>
</file>
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

Shambles

Thanks for looking, veeb, my 3.0.2 installation does indeed have those two changes applied.

I'm happy to regress and stay with 2.7.1 as it fulfils my requirements and works a treat :)

vbgamer45

The last option I can think of you checked the disable embeding in mobile browsers/tablets and somehow it might have picked up your browser.
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: