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

Bigguy

If you installed other mods after installing this one, then the code has probably changed in the files and the mod can't find what to uninstall. That's why it errors out.

Jeff B

Yea, I'm sure that is what it is. Problem is I am so dyslexic that doing a manual removal is more than a challenge. :-\

Bigguy

If you could try to uninstall the mods in order you might be able to get it that way. Depending on how many mods you installed after this one.

Jeff B

I put my bigboy pants on and dove into it.  I was able to uninstall the old version successfully and get the new version installed.   Still not sure what the deal was with initial uninstall.  It was almost like the uninstaller was for the wrong version of the install.  All the code blocks were there as they should have been, but there must have been subtle differences that would not let the uninstall "find them"

Anyhow, all is good.  Thanks for the inspiration!

Jeff B

Is there away to edit @media screen  size for the disable link so it only disables for smaller devices?

vbgamer45

Not at the moment it is based on the user agent that's how the system does the checks
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

butch2k

Quote from: Jeff B on February 13, 2018, 10:52:26 AM
Is there away to edit @media screen  size for the disable link so it only disables for smaller devices?
I can't see how it would be possible right now as there is no wrapping div around the embedded videos. Hence you can't easily target the videos through media queries.
vbgamer45 It might be interesting to add a wrapping div in an update  ;)

butch2k

vbgamer45 here is the updated embedding code for facebook (replacing v5 version)

<div id="fb-root"></div><script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.12";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));</script><div class="fb-video" data-href="https://www.facebook.com/facebook/videos/$5/" data-width="500" data-show-text="false"  data-allowfullscreen="1"><blockquote cite="https://www.facebook.com/facebook/videos/$5/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/facebook/videos/$5/">s</a></blockquote></div>

They simplified the integration html code a bit and upped the js version to 2.12.

vbgamer45

Yeah it could be done. I think maybe as an option

That's butch2k will get it added.
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

SaltedWeb

Quote from: Jeff B on February 13, 2018, 10:13:48 AM
Yea, I'm sure that is what it is. Problem is I am so dyslexic that doing a manual removal is more than a challenge. :-\
I am a little late to answer but there is a nice mod called Sortable Packages (and Installed Time)
Which helps one see the order mods were installed, I found it very handy and now use when ever I need to remove a
mode it is built right in to the package areas so very handy.   https://custom.simplemachines.org/mods/index.php?mod=2323
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

vbgamer45

Quote from: yameth on February 12, 2018, 02:55:49 PM
Can you please add

https://www.bandcamp.com
Example: http://superfunk12.bandcamp.com/album/spice-of-life
Example: http://superfunk12.bandcamp.com/track/brightness

https://www.reverbnation.com
Example: https://www.reverbnation.com/themotiveproject/song/12433163-fire

https://www.denoiz.com
Example: https://www.denoiz.com/track/5/one-shot

Thanks
I looked into those

reverbnation.com two step process to embed can't do it easily. Requires artist id which is not in the url

denoiz.com doesn't seen to have many songs???

bandcamp.com I can't find any embed code.
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

SMFHacks.com Team

New update!
4.4
+Added option to include a div around all embeds with a custom classname for you to style control via css/javascript
+Updated facebook v5 embed code thanks to butch2k
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

Aleksi "Lex" Kilpinen

Quote from: vbgamer45 on February 13, 2018, 08:46:34 PM
bandcamp.com I can't find any embed code.
Bandcamp does offer embeds, but because I believe it doesn't allow it automatically for all contents - it could be tricky. ( Haven't been on Bandcamp for ages though, so I may be wrong too - would love to see Bandcamp working though, so ...

https://ylivallanorjat.bandcamp.com/

Under the cover pic, if you click Share / Embed you will get either a link, or one of 3 different player embeds from Bandcamp, with some further customization options. The "Standard" would be like this


<iframe style="border: 0; width: 100%; height: 120px;" src="https://bandcamp.com/EmbeddedPlayer/album=3979777004/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/artwork=small/transparent=true/" seamless><a href="http://ylivallanorjat.bandcamp.com/album/systeemin-ratas-ep-2014">Systeemin Ratas - EP 2014 by Ylivallan Orjat</a></iframe>


( P.S. I know the band in question personally, so that's why I am using them as an example. :P Apologies everyone. )
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

aegersz

Quote from: Jeff B on February 13, 2018, 10:39:44 AM
I put my bigboy pants on and dove into it

sorry no tech help here but that's the best line i have heard all day  :) ... 'ataboy ! and it all worked out for ya.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

CreativeITWorld.com

Quote from: SMFHacks.com Team on February 13, 2018, 11:34:13 PM
New update!
4.4
+Added option to include a div around all embeds with a custom classname for you to style control via css/javascript

Thank you. I was skipping the majority of updates due to being tired of manually editing the mod code before upload.

Now it's just the simple one-off edit of index.css

/* Styles for Simple Audio Video Embedder
---------------------------------------------------- */
.embedsave { text-align: center; }

vbgamer45

Glad this update has helped you!
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

yameth

Quote from: vbgamer45 on February 13, 2018, 08:46:34 PM
I looked into those

reverbnation.com two step process to embed can't do it easily. Requires artist id which is not in the url

denoiz.com doesn't seen to have many songs???

bandcamp.com I can't find any embed code.
Ok, thanks anyway.
SMF 2.0.11, EZPortal, Ad Management, SMF Articles, Simple Audio Video Embedder, SMF Trader System, SMF Packs SEO

butch2k

#2877
I took a look at reverbnation and denoiz and tinkered a bit with the urls and embed codes...

For reverbnation the artist ID is not necessary it works with artist name as well.

URL
https://www.reverbnation.com/themotiveproject/song/12433163-fire

Embed Code to put as iframe src:
https://www.reverbnation.com/widget_code/html_widget/themotiveproject?widget_id=55&pwc[song_ids]=12433163


For denoiz

URL:
https://www.denoiz.com/track/6/mine-in-my-dreams
Embed code:
<iframe width="100%" height="140" frameborder="no" scrolling="no" src="https://www.denoiz.com/embed.php?id=6/mine-in-my-dreams"></iframe>

vbgamer45

Will have a look butch2k  denoiz for me looked too small to add not much content on their 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

butch2k

Quote from: vbgamer45 on February 14, 2018, 04:39:42 PM
Will have a look butch2k  denoiz for me looked too small to add not much content on their site
Agreed ! I did it mostly for the challenge of doing it ;D not sure it will be that much useful.

Advertisement: