Jump to:

7938 Posts in 1540 Topics by 945 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » DOM - Video - BlogEntry

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 431 Views
  • borriej
    Avatar
    Community Member
    267 Posts

    DOM - Video - BlogEntry Link to this post

    Hello,

    I've extended my blogentry with the DOM.

    Now i want to add a *.flv file.

    Uploaded it..

    and in the template i have this code:

                <% control Media %>
                   <% control File %>$Player(640,480)<% end_control %>
                <% end_control %>   

    The page loads, but there isn't a player visible!

    Any idea?

    When using $File (in the case of an image) it works fine.

  • UncleCheese
    Avatar
    4085 Posts

    Re: DOM - Video - BlogEntry Link to this post

    Did you cast the file relationship as FLV or File?

    431 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.