1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to disable full screen for movshare videos?

Discussion in 'HTML & JavaScript' started by JinxY, Apr 6, 2010.

  1. JinxY

    JinxY Regular Member

    Joined:
    May 14, 2007
    Messages:
    376
    Likes Received:
    66
    Anyone can help me disable full screen button for the videos embedded from movshare?

    The code looks like this:
    Code:
    <iframe style='overflow: hidden; border: 0; width: 720px; height: 362px' src='http://www.movshare.net/embed/abcd1234/?width=720&height=306' scrolling='no'></iframe>
    
    I added allowFullScreen=false, allowFullScreen=0 and so on but it does not work.
     
  2. ElmosGotAGun

    ElmosGotAGun Newbie

    Joined:
    Dec 18, 2009
    Messages:
    18
    Likes Received:
    1
    If you cant pass it through the URL

    You could do something like this:

    Code:
    <div class="movie" style="position:relative;">
    <div class="block-fullscreen">
    <a href="#" style="position:absolute;bottom:0; right:30px; width:10px; height:20px;"></div>
    </div>
    <iframe style='overflow: hidden; border: 0; width: 720px; height: 362px' src='link here' scrolling='no'></iframe>
    </div>
    
    By positioning an invisible DIV with a link to '#' ontop of the iframe in the position of the button should stop people from being able to click it. lol. This is quiet a dodgey way, im sure there is a better way. haha