DV247 Forums - A Global Community for Music Makers Lowest Price Guaranteed, Free Delivery, Free 3 Year Warranty
  #1 (permalink)  
Old 17th October 2009 , 11:20 AM
Forum Idol
 
sureno's Avatar
          
           
Join Date: Jul 2008
Location: west london depot
Posts: 7,873
Question Embedding?

is it possible to get embedding integrated into the forum so we can attach widgets etc, i know we have youtube and soundcloud but is there a way to just be able to include the embedding text associated with hosted files from various sites if needs be?

for example if i want to embed my mix from mixcloud i would simply paste this text taken from their player

<div><object width="300" height="300"><param name="movie" value="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf?v=14"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="flashVars" value="feed=http://www.mixcloud.com/api/1/cloudcast/sureno/deep-soulful-fall-09.json"></param><embed src="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf?v=14" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" flashvars="feed=http://www.mixcloud.com/api/1/cloudcast/sureno/deep-soulful-fall-09.json" width="300px" height="300px"></embed></object><div style="clear:both; height:3px;"></div><p style="display:block; font-size:12px; font-family:Helvetica, Arial, sans-serif; margin:0; padding: 3px 4px 3px 4px; color:#999;"><a href="http://www.mixcloud.com/sureno/deep-soulful-fall-09/" style="color:#02a0c7; font-weight:bold;">Deep &amp; Soulful Fall '09</a> by <a href="http://www.mixcloud.com/sureno/" style="color:#02a0c7; font-weight:bold;">Sureno</a> on <a href="http://www.mixcloud.com/" style="color:#02a0c7; font-weight:bold;"> Mixcloud</a></p><div style="clear:both; height:3px;"></div></div>

not sure how feasible this is?

cheers
______________________________
Im a Mac and Windows 7 was not my idea
WWW.SURENO.CO.UK
www.myspace.com/djsureno
http://twitter.com/djsureno
sureno is offline Offline
Reply With Quote
  #2 (permalink)  
Old 17th October 2009 , 04:26 PM
Round The Horn
 
Join Date: Jul 2008
Location: Morden, Surrey
Posts: 1,135
Lightbulb How to embed Mixcloud

Quote:
Originally Posted by sureno View Post
not sure how feasible this is?
cheers
Unfortunately it is not feasible to allow a simple "embed anything" option. This is because the only way to do this would be to allow embedding of any HTML code. Allowing any HTML code is a BIG security risk. So, as with Youtube and Soundcloud a seperate custom embed code would have to be added for Mixcloud.

I have done a bit of testing and have come up with embed code for Mixcloud should the DV admin guys want to add it.

This will work:
Admin CP -> Custom BB Codes -> Add New BB Code

Title - Mixcloud
Tag - Mixcloud
Replacement:
Code:
<div><object width="300" height="300"><param name="movie" value="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf?v=14"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="flashVars" value="feed=http://www.mixcloud.com/api/1/cloudcast/{param}.json"></param><embed src="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf?v=14" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" flashvars="feed=http://www.mixcloud.com/api/1/cloudcast/{param}.json" width="300px" height="300px"></embed></object><div style="clear:both; height:3px;"></div><div style="clear:both; height:3px;"></div></div>
However, this code would require you to copy and paste just the right bit of the direct link.
ie, if your direct link was http://www.mixcloud.com/sureno/deep-soulful-fall-09/
you would copy the red bit into the mixcloud tags http://www.mixcloud.com/sureno/deep-soulful-fall-09/

Like this;
[MIXCLOUD]sureno/deep-soulful-fall-09[/MIXCLOUD]

This would NOT work
[MIXCLOUD]sureno/deep-soulful-fall-09/[/MIXCLOUD]

Of course, those tags do not yet exist in the DV247 forum and will not exist unless the DV admin guys decide to add the code.
saxman is offline Offline
Last edited by saxman; 17th October 2009 at 11:31 PM. . <
Reply With Quote
  #3 (permalink)  
Old 18th October 2009 , 02:11 AM
Forum Idol
 
sureno's Avatar
          
           
Join Date: Jul 2008
Location: west london depot
Posts: 7,873
Default

ah thanks dude, appreciate the effort brother
______________________________
Im a Mac and Windows 7 was not my idea
WWW.SURENO.CO.UK
www.myspace.com/djsureno
http://twitter.com/djsureno
sureno is offline Offline
Reply With Quote
  #4 (permalink)  
Old 18th October 2009 , 07:00 PM
Furry Filter Phreak
 
Khazul's Avatar
          
           
Join Date: Jul 2008
Location: Reading, UK
Posts: 1,130
Default

Sorry mate - as a web developer I absolutely vote a huge no for general HTML embeds

OTOH the DV guys have been pretty quick in the past at turning around good ideas for useful embeds and mixclound gets my vote as an avaliable embed
______________________________
Nothing to see here... Move along!
Khazul is offline Offline
Reply With Quote
  #5 (permalink)  
Old 18th October 2009 , 08:07 PM
Administrator
 
modz1's Avatar
          
           
Join Date: May 2008
Location: London
Posts: 1,848
Default

Thanks for the input and suggestions guys.. Will speak to the tech bods tomorrow about this..
______________________________
"The light that burns twice as bright burns half as long.."
modz1 is offline Offline
Reply With Quote
  #6 (permalink)  
Old 18th October 2009 , 08:53 PM
Forum Idol
 
sureno's Avatar
          
           
Join Date: Jul 2008
Location: west london depot
Posts: 7,873
Default

cheers Big Daddy
______________________________
Im a Mac and Windows 7 was not my idea
WWW.SURENO.CO.UK
www.myspace.com/djsureno
http://twitter.com/djsureno
sureno is offline Offline
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedding high quality YouTube videos ndk Forum General Announcements 17 25th November 2008 01:52 PM
Youtube embedding EdRyan Off Topic 7 28th September 2008 03:40 PM


All times are GMT. The time now is 10:24 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
1999-2017 DV247 Ltd. All rights reserved.