Changeset 71


Ignore:
Timestamp:
09/25/08 04:43:12 (5 years ago)
Author:
jeroen
Message:

added parameter to yousearch so it searches only for embeddable content

Location:
plugins/as3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/as3/com/jeroenwijering/plugins/YouSearch.as

    r64 r71  
    2020        /** Reference to the graphics. **/ 
    2121        private var clip:MovieClip; 
    22         /** Prefix for the search request. **/ 
    23         private var prefix = "http://gdata.youtube.com/feeds/api/videos?vq="; 
    2422        /** initialize call for backward compatibility. **/ 
    2523        public var initialize:Function = initializePlugin; 
     
    5048                var que = encodeURI(clip.query.text); 
    5149                if(que.length > 3) {  
    52                         view.sendEvent('LOAD',prefix+que); 
     50                        view.sendEvent('LOAD','http://gdata.youtube.com/feeds/api/videos?vq='+que+'&format=5'); 
    5351                } 
    5452                clip.query.text = ''; 
Note: See TracChangeset for help on using the changeset viewer.