News:

Wondering if this will always be free?  See why free is better.

Main Menu

Simple Audio Video Embedder

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

Previous topic - Next topic

Yoksven

Got it. Well, with nobbc tag links stop working as links as well. I guess it's a workaround, but not a great one. But thanks anyway.

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

pocttopus

Hello,

I am receiving a lot of errors and I am trying to fix them:

   Type of error: General
8: Trying to access array offset on value of type bool https://xxx/index.php?https://:443/
/home/xxxx/public_html/Sources/AutoEmbedMediaPro2.php (Line 277)


==>277:  $mediaSite['embedcode'] = str_replace('#parent#', $parsed_url['host'], $mediaSite['embedcode']);

Please can you help me with advise?
Thanks. :)

vbgamer45

From the latest version?

I am wondering if $parsed_url['host'] is empty for some reason.
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

pocttopus

Sorry I didn't mention.
Forum version: 2.1rc3
Mod Version:  6.0.1



edit: now I see that I have used an older version. I have updated to 6.0.3 and will see if the issue still occurs.

pocttopus

No, the problem still occurs with the latest version.  :-[

vbgamer45

Copy this to your sources folder and let me know if it fixes the issue.
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

pocttopus

@vbgamer45 thanks for your response, you are very kind.
I have uploaded the file and I will see if the problem still occurs... thanks again!  ;)

:)

Aleksi "Lex" Kilpinen

Interesting thing I noticed while playing around with the GH version of SMF, if you make a post with Simple Machines then it seems your custom copyright gets embedded in the post. :D Was easy to fix by changing the text part of the link a bit, but still interesting.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

vbgamer45

Hmm i know why the copyright embed. I add it to the output buffer have to think about this.
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

dan4ever

Hi


I have change my Theme to Ants Mutant Curve and the embedded videos are little too big.
Looks like its fix to height instead of whide. se pic...

Hope its a quick fix  ;)

Its so important nowadays to work good on mobile phone ets...

/Dan
SMF 2.0.18
SAVE 6.0.3
/Dan Olsson, Webmaster at https://www.guldforum.se

shadav

Quote from: dan4ever on June 13, 2021, 08:49:32 AM
Hi


I have change my Theme to Ants Mutant Curve and the embedded videos are little too big.
Looks like its fix to height instead of whide. se pic...

Hope its a quick fix  ;)

Its so important nowadays to work good on mobile phone ets...

/Dan
SMF 2.0.18
SAVE 6.0.3
in the settings for the mod you can set a default height and width
you can also check the box for
Use Custom Div for embeds
and put a name for your custom div
I chose embedsave

then in your theme's index.css
at the end you can add
.embedsave
{width: 100%;
overflow: hidden;}

@media (max-width: 768px) {
.embedsave
{width: 100%;
overflow: hidden;}
}
@media only screen and (max-width: 425px) {
.embedsave
{width: 100%;
overflow: hidden;}
}
@media only screen and (max-width: 320px) {
.embedsave
{width: 100%;
overflow: hidden;}
}

change it accordingly to how you like

[edited to add] on another site I have it like this instead, to be a bit more "flexible"
.embedsave
{width: 70%;
overflow: hidden;}

@media (max-width: 768px) {
.embedsave
{width: 480px;
overflow: hidden;}
}
@media only screen and (max-width: 425px) {
.embedsave
{width: 250px;
overflow: hidden;}
}
@media only screen and (max-width: 320px) {
.embedsave
{width: 260px;
overflow: hidden;}
}

vbgamer45

Thanks shadav for the tip!!!
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

dan4ever

#3433
ok, trying...
But



How sure can I be that this CSS is loading?
So from theme's index.css and not default's index.css ???
Does not seem to work from theme's index.css ...

/Dan


[edited to remove the size=2px so that your post can actually be read ~ Shadav]

/Dan Olsson, Webmaster at https://www.guldforum.se

vbgamer45

You might have to do a hard refresh css can be cached.
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

dan4ever

Quote from: vbgamer45 on June 13, 2021, 02:59:07 PM
You might have to do a hard refresh css can be cached.
Yes, now I can see changes.  Thanx
But the height is still fixed.  CSS?

/Dan
/Dan Olsson, Webmaster at https://www.guldforum.se

vbgamer45

css should be able to change it
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

shadav

you can try adding
height: auto;
to each of the css lines

did you set a height and width in the settings of the mod?
you may need to set those to 0 for the css to work correctly, not sure

as here I have mine set to 0 and using this in my css
.embedsave
{width: 70%;
overflow: hidden;}

@media (max-width: 768px) {
.embedsave
{width: 480px;
overflow: hidden;}
}
@media only screen and (max-width: 425px) {
.embedsave
{width: 250px;
overflow: hidden;}
}
@media only screen and (max-width: 320px) {
.embedsave
{width: 260px;
overflow: hidden;}
}

the video resizes, not the best but it's tolerable
https://thehelpline.info/forum/squonk-mod-reviews/ijoy-capo-216-unboxing-first-impressions/msg52/#msg52

AllMassive

With older Versions it was possible to search for the created Songsnames via 'Thread-Search' in the corresponding Threads.
This doesnt seem to work anymore - i only find ancient entrys of Vids by this Plugin.
Why is it like this?

Aleksi "Lex" Kilpinen

Quote from: AllMassive on July 12, 2021, 05:40:44 AM
With older Versions it was possible to search for the create Songsnames via 'Thread-Search' in the corresponding Threads.
This doesnt seem to work anymore - i only find ancient entrys of Vids by this Plugin.
Why is it like this?
Without checking in more depth, I'd assume it is because the mod doesn't alter the actual message contents - it only alters the way it is presented.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: