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

JRMBelgium

I notice that Twitch videos are getting displayed 480x600 no matter at what default resolution is configured.
Example:
https://alliancemultigaming.com/forum/index.php?topic=4416.0

Is there any way someone can help me make this small adjustment to the code or database that would fix it?
When I edit the source manually it displays the video at the correct size:

<iframe src="https://player.twitch.tv?autoplay=false&amp;height=600&amp;parent=alliancemultigaming.com&amp;referrer=https%3A%2F%2Falliancemultigaming.com%2Fforum%2Findex.php%3Ftopic%3D4416.0&amp;video=1152647362&amp;width=480" allowfullscreen="" scrolling="no" frameborder="0" allow="autoplay; fullscreen" title="Twitch" sandbox="allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-storage-access-by-user-activation" width="1280" height="720" id="pbbc_iframe0" name="pbbc_iframe0"></iframe>

I just don't know what file I need to adjust in order to make the fix permanent.

spiros

I uninstalled v5, tried to install 7.0.5 and I get

fclose(): Argument #1 ($stream) must be of type resource, bool given

SMF 2
Php 8

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

spiros

I checked in SMF error log and php logs but could not find any further info, it points to zip file.

https://www.translatum.gr/forum/index.php?action=admin;area=packages;sa=install;package=SimpleAudioVideoEmbedder7.0.5.zip
fclose(): Argument #1 ($stream) must be of type resource, bool given

MobileCS

Is is possible to show the video on the preview post page? Or at least the video's thumbnail?

For YouTube, you can do it like this :

Grab the video ID :
https://www.youtube.com/watch?v=8hYlB38asDY

Insert it like below :
https://i.ytimg.com/vi/8hYlB38asDY/hqdefault.jpg

Which gives you this :

vbgamer45

No. I disabled it for some reason that i stated in the topic was causing issues.
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

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: