Title: Adding Flash outside &#8220;The Loop&#8221;
Last modified: August 19, 2016

---

# Adding Flash outside “The Loop”

 *  [enkayes](https://wordpress.org/support/users/enkayes/)
 * (@enkayes)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/adding-flash-outside-the-loop-1/)
 * Hey all,
 * I’m attempting to put code in a template to load a Flash video outside the loop.
   The file name itself comes from a custom field in each post.
 * I’ve gotten the video to show up, but not the skin.
 * Does anyone know what the issue could be???
 *     ```
       <script language="JavaScript" type="text/javascript">
       	AC_FL_RunContent(
       		'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
       		'width', '313',
       		'height', '250',
       		'src', '<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>',
       		'quality', 'high',
       		'pluginspage', 'http://www.adobe.com/go/getflashplayer',
       		'align', 'middle',
       		'play', 'true',
       		'loop', 'true',
       		'scale', 'showall',
       		'wmode', 'window',
       		'devicefont', 'false',
       		'id', '<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>',
       		'bgcolor', '#000000',
       		'name', '<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>',
       		'menu', 'true',
       		'allowFullScreen', 'false',
       		'allowScriptAccess','sameDomain',
       		'movie', '<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>',
       		'salign', ''
       		); //end AC code
       </script>
       <noscript>
       	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="313" height="250" id="<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>" align="middle">
       	<param name="allowScriptAccess" value="sameDomain" />
       	<param name="allowFullScreen" value="false" />
       	<param name="movie" value="../../media/video<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />	<embed src="../../media/video<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>.swf" quality="high" bgcolor="#000000" width="313" height="250" name="<?php echo get_post_meta($post->ID, 'side-bar-video', true); ?>" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
       	</object>
       </noscript>
       ```
   
 * Thanks,
 * –nks

The topic ‘Adding Flash outside “The Loop”’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [enkayes](https://wordpress.org/support/users/enkayes/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/adding-flash-outside-the-loop-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
