# Putting a video player in the XML photo gallery

**URL:** <https://forum.kirupa.com/t/putting-a-video-player-in-the-xml-photo-gallery/205471>\
**Category:** flash\
**Created:** [October 30, 2006, 1:59am UTC](https://forum.kirupa.com/t/putting-a-video-player-in-the-xml-photo-gallery/205471 "2006-10-30T01:59:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![InsaneText](https://avatars.discourse-cdn.com/v4/letter/i/4491bb/32.png) [@InsaneText](https://forum.kirupa.com/u/InsaneText)\
**Post date:** [October 30, 2006, 1:59am UTC](https://forum.kirupa.com/t/putting-a-video-player-in-the-xml-photo-gallery/205471/1 "2006-10-30T01:59:14Z")

</div>

I’m using the XML Photo Gallery ([http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)) and instead of an image I wish to include a video in one of the ‘slides’. I’m not sure how exactly to go about it because the gallery loads images and text from XML, it can’t load a flash video player (being a movieclip) from XML.

However, can I include some data in the XML to reference back to Flash to make a movieclip visible and go to a particular frame to start the player? Is it possible to control the Flash timeline and symbols from XML, or even HTML?

I haven’t constructed the full photo gallery yet as I would like to find out if it’s possible to incorporate video into it, first.

Cheers
