|
|
@ -3,32 +3,28 @@ |
|
|
|
<form class="container-fluid form" role="form"> |
|
|
|
<form class="container-fluid form" role="form"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="welcome container-fluid" ng-show="!playbackActive && youtubeAPIReady"> |
|
|
|
<div class="welcome container-fluid" ng-show="!playbackActive && youtubeAPIReady"> |
|
|
|
<div class="welcome-logo fa fa-youtube"></div> |
|
|
|
|
|
|
|
<h1>{{_('Share a YouTube video')}}</h1> |
|
|
|
<h1>{{_('Share a YouTube video')}}</h1> |
|
|
|
<div class="welcome-container"> |
|
|
|
<div class="welcome-container"> |
|
|
|
<p> |
|
|
|
<p>{{_("Videos play simultaneously for everyone in this call.")}}</p> |
|
|
|
<div>{{_("Videos are shared with everyone in this call.")}}</div> |
|
|
|
<div class="form-group welcome-input"> |
|
|
|
<div class="form-group welcome-input"> |
|
|
|
|
|
|
|
<input type="text" class="form-control input-lg" ng-model="youtubeurl" placeholder="{{_('YouTube URL')}}"> |
|
|
|
<input type="text" class="form-control input-lg" ng-model="youtubeurl" placeholder="{{_('YouTube URL')}}"> |
|
|
|
<div class="welcome-input-buttons"> |
|
|
|
<div class="welcome-input-buttons"> |
|
|
|
<button class="btn btn-primary" type="button" ng-disabled="!youtubeurl" ng-click="shareVideo(youtubeurl)">{{_("Share")}}</button> |
|
|
|
<button class="btn btn-primary" type="button" ng-disabled="!youtubeurl" ng-click="shareVideo(youtubeurl)">{{_("Share")}}</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="welcome container-fluid" ng-show="!youtubeAPIReady"> |
|
|
|
<div class="welcome container-fluid" ng-show="!youtubeAPIReady"> |
|
|
|
<div class="welcome-logo fa fa-youtube"></div> |
|
|
|
|
|
|
|
<h1>{{_('Share a YouTube video')}}</h1> |
|
|
|
<h1>{{_('Share a YouTube video')}}</h1> |
|
|
|
<div class="welcome-container text-center"> |
|
|
|
<div class="welcome-container"> |
|
|
|
<p> |
|
|
|
<div> |
|
|
|
<p>{{_("Could not load YouTube player API, please check your network / firewall settings.")}}</p> |
|
|
|
<p>{{_("Could not load YouTube player API, please check your network / firewall settings.")}}</p> |
|
|
|
<p ng-if="currentVideoUrl">{{_('Currently playing')}}<br><a href="{{ currentVideoUrl }}" rel="external" target="_blank">{{ currentVideoUrl }}</a></p> |
|
|
|
<p ng-if="currentVideoUrl">{{_('Currently playing')}}<br><a href="{{ currentVideoUrl }}" rel="external" target="_blank">{{ currentVideoUrl }}</a></p> |
|
|
|
<p class="form-group welcome-input"> |
|
|
|
<p class="form-group welcome-input"> |
|
|
|
<button class="btn btn-primary btn-lg" type="button" ng-click="loadYouTubeAPI()">{{_("Retry")}}</button> |
|
|
|
<button class="btn btn-primary btn-lg" type="button" ng-click="loadYouTubeAPI()">{{_("Retry")}}</button> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|