Results 1 to 5 of 5
Hybrid View
-
4th Sep 2012, 04:23 PM #1MemberWebsite'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
});
l0ck Reviewed by l0ck on . JavaScript help hi all, i have plan to create streaming site. All is Ok but when I want load video link to player , i dont know how to do it (reason : i'm noob of javascript) here is My Embed Player : <div id="usplayer"> <object id="jwplayer786" classid="jwplayer0786" width="590" height="300" bgcolor="#000000"> <param name="movie" value="player.swf" /> <param name="allowFullScreen" value="true" /> <param name="allowScriptAccess" value="always" /> <param name="FlashVars" value="$link_will_load" Rating: 5
Sponsored Links
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
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...