Skip to content

Commit

Permalink
removing images for Youtube and Vimeo
Browse files Browse the repository at this point in the history
  • Loading branch information
Angamanga committed Apr 2, 2020
1 parent 413fd46 commit ba7b49f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
5 changes: 1 addition & 4 deletions app/common/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,10 +844,7 @@
"error_in_upload": "Your image is too large (maximum size is 1MB) or has the wrong format (allowed formats are gif, png, jpg and jpeg), please check and try again!"
},
"video" : {
"enter_a" : "Enter a",
"or" : " or ",
"vimeo" : " Vimeo",
"video_url" : " video URL"
"enter_a_url": "Enter a video URL from Youtube or Vimeo."
},
"unstructured" : {
"add_survey" : {
Expand Down
8 changes: 1 addition & 7 deletions app/main/posts/modify/video.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
<form>
<div class="form-field video_embed">
<label>{{label}}</label>
<p>
<span translate="post.video.enter_a">Enter a</span>

<img src="/img/youtube.png" class="wordmark-replace">
<span translate="post.video.or"> or </span>
<img src="/img/vimeo.png" class="wordmark-replace">
<span translate="post.video.video_url"> video URL</span>
<p translate="post.video.enter_a_url">Enter a video URL from Youtube or Vimeo.
</p>
<input type="text" ng-model="videoUrl" ng-blur="constructIframe(videoUrl)" placeholder="https://youtu.be/123456">

Expand Down

0 comments on commit ba7b49f

Please sign in to comment.