]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
Optimize image resizing
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-video-settings / my-account-video-settings.component.html
index adbb97f009c9bf5e0e8cfa289004d6fdd5cda903..8be8a66ccb7ba650db3b143a292fda4dd6b286ae 100644 (file)
     </div>
   </div>
 
-  <div class="form-group">
-    <label i18n for="webTorrentPolicy">Policy regarding P2P technologies</label>
-
-    <div class="peertube-select-container">
-      <select id="webTorrentPolicy" formControlName="webTorrentPolicy">
-        <option i18n value="enable">Enable WebTorrent</option>
-        <option i18n value="disable">Disable WebTorrent globally</option>
-        <option i18n value="disable_on_mobile" disabled>Disable WebTorrent on mobile devices (not yet available)</option>
-      </select>
-    </div>
-  </div>
+  <my-peertube-checkbox
+    inputName="webTorrentEnabled" formControlName="webTorrentEnabled"
+    i18n-labelText labelText="Use WebTorrent to exchange parts of the video with others"
+  ></my-peertube-checkbox>
 
   <my-peertube-checkbox
     inputName="autoPlayVideo" formControlName="autoPlayVideo"