Profile
Achievement
    
                peckham's Recent Snippets
- All /
 
 « Prev 1 Next »
This function validates the URL of a YouTube video. It supports four kinds of URL: ?v=, /v/, #!v=, and the short version (youtu.be).
To validate the ID a request to YouTube is made, this is done using a personal class utilizing cURL.
        
        
        
            0 
        
        
            2480 
        
                    posted 14 years ago by peckham
            The option elements in the original select may provide an image and a second line of text by using a data-img and a data-info attribute.
        
        
        
            7 
        
        
            1919 
        
                    posted 14 years ago by peckham
            This example shows how enableEditing can be emulated in version 3 of the Google Maps API. \\r\\nWhen releasing an editable point after dragging it, the changed part of the polyline will be updated.\\r\\nPoints can be added to by clicking on the map a...
        
        
        
            0 
        
        
            3024 
        
                    posted 15 years ago by peckham