techtek / steempi

Steemit LED notifications and Web interface for Raspberry Pi
9 stars 9 forks source link

Add Ted.com module #34

Closed techtek closed 7 years ago

techtek commented 7 years ago

Ted.com module

Tests results:

-(issue) When loading the module and it url Ted.com, the website will jump out of the iframe and forces itself out of the SteemPi interface.

<!DOCTYPE html>
<html lang="en">
<head>
    <title>STEEMPI | A system for Steemit</title>

    <meta charset="utf-8"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="initial-scale=1,minimum-scale=1,width=device-width">

    <!-- Stylesheets -->
    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html, body {
            height: 100%;
            overflow: hidden;
            width: 100%;
        }

        iframe {
            border: none;
            height: calc(100% - 3px);
            width: 100%;
        }
    </style>
</head>
<body>
<iframe height="100%" width="100%" frameborder="0"
        src="http://www.ted.com/"></iframe>
</body>
</html>

TED is a nonpartisan nonprofit devoted to spreading ideas, usually in the form of short, powerful talks.

Many cool innovative and inspiring video content from interesting people from all over the world (English with in most cases subtitles as well)

http://developer.ted.com/API_Docs

https://www.ted.com

dehenne commented 7 years ago

Is integrated and no Problem. Please test the performance ;-)