title: How to change width of loaded video om different devices?
body: <p>I use <a href="https://videojs.com/" rel="nofollow noreferrer">https://videojs.com/</a> library in my laravel 5.7 / Blade / jquery /Bootsrap 4.1 app
  and the question is if there is a way to change width of loaded video depending on device to fit parent div for video block?
  This plugin give possibility to set width/height automatically (It is commented now in the code below)
  I tried to wrap the video  block with div with set width(or max-width) :</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="block_container_internal"&gt;
  
          {{--width="640" height="264"--}}
          &lt;video id="video_page_content_{{ $nextPageContentVideo-&gt;id }}" class="video-js" controls preload="auto" poster="/images/video_poster.jpg"   data-setup="{}"&gt;
              &lt;source src="{{ $next_video_url }}" type='video/mp4'&gt;
              &lt;source src="{{ $next_video_url }}" type='video/webm'&gt;
              &lt;p class="vjs-no-js"&gt;
                  To view this video please enable JavaScript, and consider upgrading to a web browser that
                  &lt;a href="https://videojs.com/html5-video-support/" target="_blank"&gt;supports HTML5 video&lt;/a&gt;
              &lt;/p&gt;
          &lt;/video&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in css of device :</p>
  
  <pre><code>.block_container_internal {
      width: 390px !important;
      padding-right: 5px;
      padding-left: 5px;
  }
  </code></pre>
  
  <p>but anyway video block get all width of the screen.
  I reviewed the docs on the site, but did not find any options</p>
  
  <p>MODIFIED # 2</p>
  
  <p>I uploaded this problem online
  <a href="http://votes.nilov-sergey-demo-apps.tk/about" rel="nofollow noreferrer">http://votes.nilov-sergey-demo-apps.tk/about</a></p>
  
  <p>Please look at ipad device : <a href="https://imgur.com/a/GPXm3gi" rel="nofollow noreferrer">https://imgur.com/a/GPXm3gi</a>
  As I do not want to show video at full possible with,
  I would like to change width of video container with wrapping div, but failed.</p>
  
  <p>Thanks!</p>