UNPKG

unserver-unify

Version:

22 lines (21 loc) 681 B
<div ng-controller="CourseVideoCtrl as ctrl" ng-switch="ctrl.courseTheme"> <div ng-switch-when="fullscreen" class="full_screen"> <div ng-include="'app/course/video_v1.html'" class="full_screen"> </div> </div> <div ng-switch-default> <div ng-include="'app/course/video_v2.html'"> </div> </div> </div> <script> function showWiki(key) { angular.element('#chapter_id').scope().showWiki(key); } function showhtmlImage(src) { angular.element('#chapter_id').scope().showImage(src); } function showHtmlVideo(title, url, isOnlineVideo) { angular.element('#chapter_id').scope().showVideo(title, url, isOnlineVideo); } </script>