• <video> tag preload attribute handling


    Mario.NET

    By the w3c documentation, if a <video> tag has a preload="none" attribute, the browser should not preload the video

    Chrome as an example follows this rule, but Maxthon (both 4.9 and 5.0) downloads all the file anyway.

    In video heavy pages, that kills browser performance (and data caps, also)

     


    User Feedback

    Recommended Comments

    Hi there,

    Thank you for your feedback and suggestion. Could you give an example for that? for which url the video's attribute is "none".

    It will help us understand your point and forward that to the product team more effectively.

    Regards!

    Jelly

    Link to comment
    Share on other sites

    On 11/16/2016 at 1:48 AM, BugMiss006 said:

    Hi there,

    Thank you for your feedback and suggestion. Could you give an example for that? for which url the video's attribute is "none".

    It will help us understand your point and forward that to the product team more effectively.

    Regards!

    Jelly

    example page

    there are 4 <video> tags pointing to mp4 files

    they have the attribute preload="none", but the video get downloaded immediatly, without pressing 'play' (see F12 -> Network tab)

    Please provide a different site for this problem.

    Edited by No.1MaxthonFan
    Removed vulgarity in link.
    Link to comment
    Share on other sites

    1 hour ago, BugMiss006 said:

    Where to check the preload attribute? Sorry I didn't find it even from F12...:(

     

    Right-click on a video, choose 'inspect element'

    In developer tools, you will be pointed at a <div> tag

    Just before it, there's the <video> tag:

    <video id="embed-583699a9897ea812053908_html5_api" class="vjs-tech" poster="https://67.media.tumblr.com/tumblr_ognnqnC9jE1ulku67_smart1.jpg" preload="none" muted="" data-crt-video="">

     

    Link to comment
    Share on other sites

    44 minutes ago, Mario.NET said:

     

    Right-click on a video, choose 'inspect element'

    In developer tools, you will be pointed at a <div> tag

    Just before it, there's the <video> tag:

    <video id="embed-583699a9897ea812053908_html5_api" class="vjs-tech" poster="https://67.media.tumblr.com/tumblr_ognnqnC9jE1ulku67_smart1.jpg" preload="none" muted="" data-crt-video="">

     

    Thank you for your kind explanation. Now I understand that.

    But when I opened this page with MX5, none videos was played automatically but need clicking the "Play" button.

    Regards!

    preload.png

    Link to comment
    Share on other sites

    That's a preload tag

    Modern browsers start downoading a video file before user presses 'play', as an optimization (like buffering)

    Videos with preload="none" attribute should not be downloaded (and of course not played, also)

    Maxthon (4.9 and 5.0) downloads immediatly all three videos in the page, before user clicks play in any of them, even if they are marked with preload="none"

    You can check that from Developer tools, Network tab

    Link to comment
    Share on other sites

    On 11/25/2016 at 4:18 PM, Mario.NET said:

    That's a preload tag

    Modern browsers start downoading a video file before user presses 'play', as an optimization (like buffering)

    Videos with preload="none" attribute should not be downloaded (and of course not played, also)

    Maxthon (4.9 and 5.0) downloads immediatly all three videos in the page, before user clicks play in any of them, even if they are marked with preload="none"

    You can check that from Developer tools, Network tab

    Have forwarded this problem to the product team for their consideration, and I will update you shortly if there's any feedback.

    Regards!

    Jelly

    Link to comment
    Share on other sites

    On 2016/11/25 at 4:18 PM, Mario.NET said:

    That's a preload tag

    Modern browsers start downoading a video file before user presses 'play', as an optimization (like buffering)

    Videos with preload="none" attribute should not be downloaded (and of course not played, also)

    Maxthon (4.9 and 5.0) downloads immediatly all three videos in the page, before user clicks play in any of them, even if they are marked with preload="none"

    You can check that from Developer tools, Network tab

    It has been confirmed as a bug, and will be fixed in future ;D

    Link to comment
    Share on other sites


  • Pending = We are still working on this report.

    Solved = The issue has been fixed and the resolution will be available in the recent version.

    Closed = Feedback or opinion better posted on our forum for discussion.