More in this section
Forums / Bugs & Issues / media player with images $ documents module.

media player with images $ documents module.

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. llillo
    llillo avatar
    1 posts
    12 Feb 2007
    29 Apr 2009
    Link to this post
    hello all, I need to play a video (. FLV and / or. SWF) in Sitefinity 3.2
    I have uploaded the file in the form of images and documents.
    This is the code.
                                        <div id="video_1">
                                            <a href="#;" onclick="';promoid=DAFYL')">
                                                <img width="126" height="92" class="foto_flash" title="Descarga la ultima versión de Flash Player" alt="Descarga la ultima versión de Flash Player" src="/images/video_slideshow/video_slideshow_img_01.jpg" usemap="#Map" />
                                            <script type="text/javascript" >
                                            // <![CDATA[
                                            var so = new SWFObject('<%# ResolveUrl( DataBinder.Eval(Container.DataItem, "Url").ToString() ) %>', "Inicio", "126px", "92px", "8", "#FFF", "transparent");
                                            // ]]>
  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    08 May 2009
    Link to this post
    Hi llillo,

    I think you are on the right way.

    Basically every item in the Images and Documents module has an URL, and URL with extension properties. You could use those to extract the item path and pass this variable to the media player, which will play the item. I am not really sure if your FLV items can be played directly, most of the times they need a player to get them streaming to the client.

    On a side note, where did you insert this code? I could test this scenario, but I need to know which template you have modified. If it is possible to debug the code, please check whether there is something DataItem object.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered