

My next attempt was to inspect the Canvas video player and extract the HTML they use to build it. That allows you to set the height and width of the file, but you lose accessibility options, which is probably a dealbreaker in most cases. This source file can be used in an empty container you write into the HTML editor of the page: If you copy one of the source attributes into the browser, you'll see your raw file served from an Amazon AWS server. Inside that div, there is an HTML5 element and the raw sources for several display sizes of the file. If you play the video, then right click and inspect the file, you'll see a div with the class " mjs-mediaelement".
HOW TO REDUCE PAGE SIZE FOR YOUTUBE EMBEDDED VIDEOS DOWNLOAD
Details below.Ĭanvas uses their own API to serve videos. The link in Files is a download link that also uses the API to get the raw file for the user, so it can't be used as a video source. The short answer is no, you cannot customize the Canvas media player to open by default. I spent some time playing with this problem because it seems like something you could customize in the HTML editor. Has anyone managed to make this work? My alternatives are to take the videos out of Canvas's Files area and host them externally, then iframe them in. But with the extra amount of work involved in that, I was hoping to have the flexibility in Canvas to do so. Using the "Record/Upload Media" button to upload the video file, which places it on the page as a small minimized preview.I can't figure out what the direct URL is for the video where it's stored in Canvas's Files area, so I can't get it to work. Attempting to iframe the video onto the Page.This works, as it lets me set the size, but removes the nice player with caption options & playback speed. Using the "Insert/Edit Media" button in the RCE with the video's File link as the source.Is there a way to have the video play maximized (or 100% width) by default instead of having the small minimized preview (shown on left in screenshot)? When I add the video as a file to Modules, I get the nice, full-size view (shown on right in screenshot).

I need some help getting a video to look good on a Page.
