Closed kennethlynne closed 10 years ago
Maybe try to use this directive: http://ngmodules.org/modules/ng-videosharing-embed. An easy way to fix it for now.
Yes, it is a clean and nice approach for video. We can create a similar way of including pdfs and other files later on
Idd! Just implement your preferred one. I would say bower install ng-videosharing-embed
is simplest, but the latter is the most customizable one.
Actually. The ng-videosharing-embed is the one that is easiest to replace also. That makes it a very strong contender if you ask me! We probably want to integrate with the vimeo and youtube playback APIs down the road, then we might consider doing something more custom
Did something in between.. Doing some refactoring now, and it should be done soon
current syntax:
<media-player-component media="<video/media-object>"></media-player-component>
Need some extra logic in the component to make it truly generic for all types of content.. But as it is now, i think it is very customizable
Suggesting renaming the component to video-component. No use for a component that takes all types of content.. ˆ_ˆ
yeeeah. video component is specific and nice. Media is to generic.
Implement a component that takes a vimeo video id as a parameter, and renders a video component that takes up its containing elements.
Example:
<vimeo-video-component id="<ID>" />