Advertisement:

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

Offline effex

  • Semi-Newbie
  • *
  • Posts: 54
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #340 on: November 27, 2010, 06:53:48 PM »
That's close you are on the right track.
This one would require two steps.  You see the number 16711680 that would need to fetched from the webpage.
I am still working on building that feature in the mod to fetch extra parts needed then store them.

I see... the only reason I hard coded it was that it seems to be the same in every URL I've came across so far.

Offline effex

  • Semi-Newbie
  • *
  • Posts: 54
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #341 on: November 27, 2010, 07:37:50 PM »
Hmm I just did some more research into this, a friend of mine who does VBulletin mods told me that the site always uses "16711680" and that's just part of the URL.

I'm not sure why it's not working. All that has to be done is add it to the table in the database right?

EDIT: N/M I got it to work, I didn't realize you had to manually turn it on in the settings and couldn't just have it auto on when adding a row in the table. Thanks for your time!
« Last Edit: November 27, 2010, 07:42:08 PM by effex »

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,397
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #342 on: November 27, 2010, 07:42:37 PM »
Glad you got it working!
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 Zirc

  • Semi-Newbie
  • *
  • Posts: 93
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #343 on: November 28, 2010, 03:50:30 AM »
It would be nice to have it as a setting at least.  I for one would prefer auto embedding be disabled for shoutboxes but some people may use them in a wider area than i do so it wouldn't be a big deal.  If you could point me to what to edit i can make the change myself and then just enter that into my site customization thread.  There is alot that I adjust with the way things work :D

vbgamer45

You said this issue is probably a check/flag in the post area, which file would I look in to get this changed so it doesn't autoembed in the shoutbox? If you point me in a direction I can do some poking around.

Thanks

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,397
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #344 on: November 28, 2010, 10:07:10 AM »
Subs.php that calls the processmedia function you would need to do some conditional checking there.
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 Zirc

  • Semi-Newbie
  • *
  • Posts: 93
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #345 on: November 28, 2010, 12:47:28 PM »
Well I did some poking around but couldn't find anything, my php knowledge is basic, so idk.  The shoutbox is Simpleportal so maybe I'll ask over there and see if they have any solutions

Offline hathaquest

  • Semi-Newbie
  • *
  • Posts: 44
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #346 on: December 06, 2010, 08:19:25 PM »
Ummm how do I get rid of the floating Embedder credit?

It's floating right in front of the Simple Machines copyright notice jumbling the text, so the two credits look meshed together wrecking my board's look atm.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,397
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #347 on: December 06, 2010, 08:27:55 PM »
At the moment the only way is to order copyright removal.
http://www.smfhacks.com/copyright_removal.php
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 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,072
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #348 on: December 06, 2010, 09:35:25 PM »
It's floating right in front of the Simple Machines copyright notice jumbling the text, so the two credits look meshed together wrecking my board's look atm.

You can't remove the credit without purchasing a removal, as stated above. However, you can fix the styling so the lines aren't on top of each other. There is a "bug" in the Curve CSS that's causing the lines to collapse.

In the file index.css, find the selector "#footerarea ul li.copywrite" and remove the "line-height:0 " rule.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,397
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #349 on: December 06, 2010, 10:26:30 PM »
青山 素子 tracked that issue hopefully will get fixed for 2.0 final.
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 hathaquest

  • Semi-Newbie
  • *
  • Posts: 44
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #350 on: December 07, 2010, 02:05:59 AM »
I haven't tried the stylesheet fix yet, but this is a core variant I'm using where this bug is showing.

Maybe that line rule should get ousted altogether.

Offline hathaquest

  • Semi-Newbie
  • *
  • Posts: 44
Re: Simple Audio Video Embedder 1.0.9 (Oct 4) 50+ Video Sites supported!
« Reply #351 on: December 07, 2010, 02:23:39 AM »
You can't remove the credit without purchasing a removal, as stated above. However, you can fix the styling so the lines aren't on top of each other. There is a "bug" in the Curve CSS that's causing the lines to collapse.

In the file index.css, find the selector "#footerarea ul li.copywrite" and remove the "line-height:0 " rule.

Thanx a mil, that helped.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,397
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #352 on: December 07, 2010, 05:04:47 PM »
New update
1.0.10
+Added support for xfire
+Added support for worldstarhiphop.com
+Added support for tinypic videos
+Added support for JibJab thanks to DaleM
+Added support for G4tv thanks to DaleM
+Added support for IGN thanks to DaleM
+Added support for Joystiq thanks to DaleM
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 rogeret

  • Newbie
  • *
  • Posts: 1
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #353 on: December 08, 2010, 04:23:22 AM »
Hi,

I've just installed the lastest version of the plugin in SMF 1.1.12 but I can't publish videos on my posts. My forum is in www . vadejocs . cat

I've downloaded the Mod, I've installed and all seems to work.

Maybe I miss something of smf configuration to allow embedded? I can see any new button on the reply toolbar for adding videos.
 :-[

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,397
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #354 on: December 08, 2010, 09:21:29 AM »
Two things.
First you need to enabled which video sharing sites you wish to autoembed.

Then after that you just place the video url/link inside the post and that is 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

Offline glam0ur

  • Semi-Newbie
  • *
  • Posts: 25
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #355 on: December 09, 2010, 02:46:49 AM »
Hmm doesnt work for me. I copied the youtube url and pasted it in my forum, making sure that youtube is clicked.
But it only shows the youtube link in the post... :(

Offline eyo

  • Jr. Member
  • **
  • Posts: 202
  • Gender: Male
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #356 on: December 10, 2010, 08:01:46 PM »
permissions would be nice to add here , or is there a setting for it already?

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #357 on: December 10, 2010, 08:13:18 PM »
What purpose would the permissions serve...?
Allow some users to embed and others not to?????

That would be more annoying for the reader than the poster.

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,072
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #358 on: December 10, 2010, 10:09:30 PM »
Mixing permissions with the bbcode parser doesn't work too well.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline fullmetalgirl

  • Semi-Newbie
  • *
  • Posts: 57
Re: Simple Audio Video Embedder 1.0.10 (Dec 7) 50+ Video Sites supported!
« Reply #359 on: December 12, 2010, 07:55:38 AM »
Hi,

i'm trying to manually install this mod on my forum,
It's a dutch 1.1.11 smf forum, theme SIS with no other mods.
www.bushcraften.nl

I made all the changes in php..
i got 2 problems:

1:
Quote
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in ./Sources/AutoEmbedMediaPro.php on line 166

Parse error: syntax error, unexpected '}' in ./Sources/AutoEmbedMediaPro.php on line 181

2:
I do not know where to put: AutoEmbedMediaProInstall.php
do i even need this?

Hope you can help mee,