Custom Fields
Permalink
I am new to C5 having been using WordPress for the past 3 years I thought it about time to give something else a go!
Anyway my question is:
In WP to create a video player that is content managed I would hard code Flowplayer into a template and then in WP I would create a Custom Field so that the client could upload a video and then enter a URL of the video location.
How would I do the same thing within C5?
Many thanks,
Rob
Anyway my question is:
In WP to create a video player that is content managed I would hard code Flowplayer into a template and then in WP I would create a Custom Field so that the client could upload a video and then enter a URL of the video location.
How would I do the same thing within C5?
Many thanks,
Rob
thanks for takling the time to reply. I will give that a go and let you know how I get on.
There are included video blocks on a basic concrete5 install and many add-ons in the Marketplace for adding video. These won't require you to do any custom programming.
http://www.concrete5.org/marketplace/addons/-/view/?submit_search=1...
http://www.concrete5.org/marketplace/addons/-/view/?submit_search=1...
Maybe it would go something like this:
--Create directory /blocks/file/templates
--Copy /concrete/blocks/file/view.php to /blocks/file/templates/flowplayer.php
--Edit /blocks/file/templates/flowplayer.php to include the Flowplayer hard code and the link to the file that the Flowplayer hard code may need would possibly be something like
For further reference see Concrete5 documentation on the File object or /concrete/models/file.php.