Results 1 to 5 of 5
Threaded View
-
4th Sep 2012, 04:23 PM #5MemberWebsite's:
HD-Streaming.orgYou can delete the div "usplayer" content and rewrite the embedding code with new link, with jQuery it's very easy:
PHP Code:$(".links a").click(function(){
embed = $('<object id="jwplayer786" class....>....<param name="FlashVars" value="'+$(this).href()+'" />'); //the same embedding code with just changin the FlashVars value with the clicked link...
$("#usplayer").html(embed);
return false; //to stop the a click event
});
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[WordPress] How to do this in javascript/php?
By thizzladen in forum Web Application/Script SupportReplies: 0Last Post: 16th Mar 2012, 12:05 AM -
JavaScript Kit
By Daniel in forum Useful SitesReplies: 0Last Post: 7th Mar 2011, 06:48 PM -
javascript help
By jokerhacker in forum Web Development AreaReplies: 4Last Post: 27th Dec 2010, 11:02 AM -
Help About JavaScript
By macypro in forum Technical Help Desk SupportReplies: 1Last Post: 7th Dec 2010, 12:23 AM -
help with some javascript
By bumilad20 in forum Web Application/Script SupportReplies: 2Last Post: 3rd Jun 2010, 05:01 AM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...