Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

DOM - Video - BlogEntry


Go to End


2 Posts   727 Views

Avatar
borriej

Community Member, 267 Posts

14 February 2011 at 8:23am

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.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

14 February 2011 at 10:08am

Edited: 14/02/2011 10:08am

Did you cast the file relationship as FLV or File?