hi

i have problem with modify "src" in embed object

<script type="text/javascript">
$(document).ready(
    function() {
         $(".miniimage").click(
             function() {
               alert($(this).next("span").attr("class"));
             $(".youtube object embed").attr("src", $(this).next
("span").attr("class"));
             }
         );
    }
);
</script>


    <div class="youtube">
    <object width="300" height="200">
       <embed src="" type="application/x-shockwave-flash"
allowfullscreen="true" width="300" height="200" wmode="transparent"></
embed>
       <param value="transparent" name="wmode"></param>
       <param name="movie" value=""></param>
       <param name="allowFullScreen" value="true"></param>
       <param name="allowscriptaccess" value="always"></param>
    </object>
    </div>

<img title="" src="http://i4.ytimg.com/vi/lb6jQZHb4ys/default.jpg";
alt="$Title" width="114" height="94" class="miniimage" />
<span class="http://www.youtube.com/v/lb6jQZHb4ys";></span>


is it possible to modify embed src in this way ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to