Coder Social home page Coder Social logo

Comments (3)

 avatar commented on July 1, 2024

forgot to mention: on a regular browser Fscreen works fine, see shots

screenshot from 2017-09-18 18-18-39
screenshot from 2017-09-18 18-18-36

from fscreen.

rafgraph avatar rafgraph commented on July 1, 2024

Hi, I don't have have time to support Sumsung SmartTVs in this library, however, I'd be happy to accept a pull request.

With regards to the code, it looks like it does almost the exact same thing as fscreen. One main difference is that it uses document.documentElement if no element is provided. The fscreen example site uses the root div as the fullscreen element, but fscreen will work with any element you give it. Also, in your pictured example, the element you're making fullscreen is a video.

Have you tried using fscreen with a video element, or with document.documentElement on your SmartTV? It wouldn't surprise me if the Samsung browser restricts which elements can go fullscreen.

from fscreen.

 avatar commented on July 1, 2024

Hi rafrex
thx for the reply, my intention was to help spread support to those devices.

looks like the browser (when used standalone) has limitations, even web-apps (samsung tv apps, web based) are restricted to 960x540 (I tried larger and had to scroll):
http://developer.samsung.com/tv/develop/legacy-platform-library/tut00055/index#Creating-the-Basic-Application

in addition, on the "full-screen-working" TV, there was no way to get back to normal view (only the "enter" event was available!), so I switched to a non-web TV app, see shot

2017-09-25 - tv apps

cheers
.k.

from fscreen.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.