29 Mar 2012 7:12 AM #1
Unanswered: Dynamically change the url of Ext.Video
I'm new to Sencha Designer and am getting my head around it, getting there.
I'm trying to dynamically set the url of the video control but it is not changing or refreshing.
When I set the url statically it works fine but if I try and set it dynamically, even though the property seem set, the video does not play.
Any hints or help greatly appreciated.
video = details.child('#video'); video.url = 'images/' + record.get('id') +'.m4v';
29 Mar 2012 8:10 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You should use the getter and setter methods as much as you can. For instance, there is a setUrl method that you should use.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.