Advertisement:

Author Topic: Simple Audio Video Embedder  (Read 927433 times)

Offline Yoksven

  • Semi-Newbie
  • *
  • Posts: 33
Re: Simple Audio Video Embedder
« Reply #3420 on: April 26, 2021, 10:44:26 PM »
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.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3421 on: April 26, 2021, 10:50:44 PM »
Glad to help
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

Offline pocttopus

  • Full Member
  • ***
  • Posts: 521
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Simple Audio Video Embedder
« Reply #3422 on: April 30, 2021, 05:08:11 AM »
Hello,

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

   
Code: [Select]
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)

Code: [Select]
==>277:  $mediaSite['embedcode'] = str_replace('#parent#', $parsed_url['host'], $mediaSite['embedcode']);
Please can you help me with advise?
Thanks. :)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3423 on: April 30, 2021, 06:41:38 AM »
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

Offline pocttopus

  • Full Member
  • ***
  • Posts: 521
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Simple Audio Video Embedder
« Reply #3424 on: April 30, 2021, 06:44:43 AM »
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.

Offline pocttopus

  • Full Member
  • ***
  • Posts: 521
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Simple Audio Video Embedder
« Reply #3425 on: April 30, 2021, 02:17:04 PM »
No, the problem still occurs with the latest version.  :-[

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3426 on: April 30, 2021, 08:24:07 PM »
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

Offline pocttopus

  • Full Member
  • ***
  • Posts: 521
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Simple Audio Video Embedder
« Reply #3427 on: May 01, 2021, 05:34:21 AM »
@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!  ;)

 :)

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Project Manager
  • SMF Super Hero
  • *
  • Posts: 20,077
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • Aleksi Kilpinen
Re: Simple Audio Video Embedder
« Reply #3428 on: June 11, 2021, 04:09:18 AM »
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.
A Finnish Project Manager (Support Specialist)
Happily running multiple SMF 2.x installations.
 Fooling around with an i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3429 on: June 11, 2021, 08:12:15 AM »
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

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 132
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • https://www.linkedin.com/in/danohlsson on LinkedIn
    • @DanOhlsson on Twitter
    • Guldforum.se
Re: Simple Audio Video Embedder
« Reply #3430 on: Today at 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
/Dan Olsson, Admin at https://www.guldforum.se

Online shadav

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,438
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Simple Audio Video Embedder
« Reply #3431 on: Today at 11:36:14 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
Code: [Select]
.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"
Code: [Select]
.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;}
}

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3432 on: Today at 11:42:06 AM »
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

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 132
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • https://www.linkedin.com/in/danohlsson on LinkedIn
    • @DanOhlsson on Twitter
    • Guldforum.se
Re: Simple Audio Video Embedder
« Reply #3433 on: Today at 02:51:49 PM »
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]

« Last Edit: Today at 03:03:20 PM by shadav »
/Dan Olsson, Admin at https://www.guldforum.se

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3434 on: Today at 02:59:07 PM »
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

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 132
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • https://www.linkedin.com/in/danohlsson on LinkedIn
    • @DanOhlsson on Twitter
    • Guldforum.se
Re: Simple Audio Video Embedder
« Reply #3435 on: Today at 05:02:18 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, Admin at https://www.guldforum.se

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3436 on: Today at 06:29:43 PM »
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

Online shadav

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,438
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Simple Audio Video Embedder
« Reply #3437 on: Today at 06:36:08 PM »
you can try adding
Code: [Select]
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
Code: [Select]
.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