Simply put, I've uploaded a video to Google Drive that I want to embed on my website. The embed code I got from the shared-video page for the video is:
<iframe src="https://drive.google.com/file/d/0B8DK7pele_HjWUR6Ym9KNFU5YTQ/preview" width="640" height="480"></iframe>
This iframe leads to this URL: https://drive.google.com/file/d/0B8DK7pele_HjWUR6Ym9KNFU5YTQ/preview
Upon visiting the URL, I see a full-screen view with a video player similar to YouTube and an annoying 'Pop out' option at the top-right of the page. I do not want users to navigate to the Google Drive shared-video page (i.e. https://drive.google.com/file/d/0B8DK7pele_HjWUR6Ym9KNFU5YTQ/view). I just want to remove the 'Pop out' arrow symbol.
I tried to edit the code using CSS to hide the 'Pop out' button:
<div class="drive-viewer-v2-toolstrip" role="toolbar" style="width: 52px; right: 0px; opacity: 0;display: none;"></div>
This worked in preventing the 'Pop out' button from displaying and redirected to playing the video instead. The challenge now is finding a way to apply this CSS to the iframe directly.
I have attempted to use various programming languages such as HTML, CSS, JavaScript, and PHP but haven't found success. Is there any way to remove the 'Pop out' arrow within the iframe through coding? Any guidance or workaround would be appreciated as I'm not experienced in programming.
Notes: - The video used here is only for illustrative purposes. - You can view my test page at:
http://freemedia.x10.mx/index.html