trying to find the source of "path" fromt this jquery code
<p>I don't really know what's going on with this code since I did not write it; it's from a wordpress theme im trying to modify. </p>

<p>Basically when prettyPhoto opens with my added SoundCloud URL something adds "ayer.soundcloud.com/player.swf?" to the middle of my soundcloud url that i added, which makes it not work.</p>

<p>What im trying to do is to take it out, whether it be by parsing it out or finding the source of the problem.</p>

<p>I found the following code which has the part called flash_markup: that creates the  my plan is to take that {path} or find the source of it to parse it. </p>

<p>Where could it come from? it looks like "path" could be a prettyPHoto argument? </p>

<pre><code>$.fn.prettyPhoto = function (pp_settings) {
            pp_settings = jQuery.extend({
                animation_speed: 'fast',
                slideshow: false,
                autoplay_slideshow: false,
                opacity: 0.80,
                show_title: true,
                allow_resize: true,
                default_width: 500,
                default_height: 344,
                counter_separator_label: '/',
                theme: 'facebook',
                hideflash: false,
                wmode: 'opaque',
                autoplay: true,
                modal: false,
                overlay_gallery: true,
                keyboard_shortcuts: true,
                changepicturecallback: function () {},
                callback: function () {},
                markup: '&lt;div class="pp_pic_holder"&gt; \
          &lt;div class="ppt"&gt; &lt;/div&gt; \
          &lt;div class="pp_top"&gt; \
           &lt;div class="pp_left"&gt;&lt;/div&gt; \
           &lt;div class="pp_middle"&gt;&lt;/div&gt; \
           &lt;div class="pp_right"&gt;&lt;/div&gt; \
          &lt;/div&gt; \
          &lt;div class="pp_content_container"&gt; \
           &lt;div class="pp_left"&gt; \
           &lt;div class="pp_right"&gt; \
            &lt;div class="pp_content"&gt; \
             &lt;div class="pp_loaderIcon"&gt;&lt;/div&gt; \
             &lt;div class="pp_fade"&gt; \
              &lt;a href="#" class="pp_expand" title="Expand the image"&gt;Expand&lt;/a&gt; \
              &lt;div class="pp_hoverContainer"&gt; \
               &lt;a class="pp_next" href="#"&gt;next&lt;/a&gt; \
               &lt;a class="pp_previous" href="#"&gt;previous&lt;/a&gt; \
              &lt;/div&gt; \
              &lt;div id="pp_full_res"&gt;&lt;/div&gt; \
              &lt;div class="pp_details clearfix"&gt; \
               &lt;p class="pp_description"&gt;&lt;/p&gt; \
               &lt;a class="pp_close" href="#"&gt;Close&lt;/a&gt; \
               &lt;div class="pp_nav"&gt; \
                &lt;a href="#" class="pp_arrow_previous"&gt;Previous&lt;/a&gt; \
                &lt;p class="currentTextHolder"&gt;0/0&lt;/p&gt; \
                &lt;a href="#" class="pp_arrow_next"&gt;Next&lt;/a&gt; \
               &lt;/div&gt; \
              &lt;/div&gt; \
             &lt;/div&gt; \
            &lt;/div&gt; \
           &lt;/div&gt; \
           &lt;/div&gt; \
          &lt;/div&gt; \
          &lt;div class="pp_bottom"&gt; \
           &lt;div class="pp_left"&gt;&lt;/div&gt; \
           &lt;div class="pp_middle"&gt;&lt;/div&gt; \
           &lt;div class="pp_right"&gt;&lt;/div&gt; \
          &lt;/div&gt; \
         &lt;/div&gt; \
         &lt;div class="pp_overlay"&gt;&lt;/div&gt;',
                gallery_markup: '&lt;div class="pp_gallery"&gt; \
            &lt;a href="#" class="pp_arrow_previous"&gt;Previous&lt;/a&gt; \
            &lt;ul&gt; \
             {gallery} \
            &lt;/ul&gt; \
            &lt;a href="#" class="pp_arrow_next"&gt;Next&lt;/a&gt; \
           &lt;/div&gt;',
                image_markup: '&lt;img id="fullResImage" src="{path}" /&gt;',
                flash_markup: '&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"&gt;&lt;param name="wmode" value="{wmode}" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="{path}" /&gt;&lt;embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"&gt;&lt;/embed&gt;&lt;/object&gt;',
                quicktime_markup: '&lt;object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"&gt;&lt;param name="src" value="{path}"&gt;&lt;param name="autoplay" value="{autoplay}"&gt;&lt;param name="type" value="video/quicktime"&gt;&lt;embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"&gt;&lt;/embed&gt;&lt;/object&gt;',
                iframe_markup: '&lt;iframe src ="{path}" width="{width}" height="{height}" frameborder="no"&gt;&lt;/iframe&gt;',
                inline_markup: '&lt;div class="pp_inline clearfix"&gt;{content}&lt;/div&gt;',
                custom_markup: ''
            }, pp_settings);
            var matchedObjects = this,
                percentBased = false,
                pp_dimensions, pp_open, pp_contentHeight, pp_contentWidth, pp_containerHeight, pp_containerWidth, windowHeight = $(window).height(),
                windowWidth = $(window).width(),
                pp_slideshow;
            doresize = true, scroll_pos = _get_scroll();
            $(window).unbind('resize.prettyphoto').bind('resize.prettyphoto', function () {
                _center_overlay();
                _resize_overlay();
            });
</code></pre>
