NodeBB-Community / nodebb-plugin-iframely

Iframely Embeds for NodeBB
MIT License
17 stars 13 forks source link

[plugin/iframely] Could not parse embed! TypeError: Cannot read property 'thumbnail' of undefined #32

Closed NormandoHall closed 7 years ago

NormandoHall commented 7 years ago

I have iframely installed and run like a charm. But iframely plugin get errors on all posts I have youtube video. Of course I was disabled all youtube plugins.

I get these errors:

13/8 03:27:55 [3631] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot read property 'thumbnail' of undefined
13/8 03:27:55 [3631] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot read property 'thumbnail' of undefined
13/8 03:27:58 [3612] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot read property 'thumbnail' of undefined
13/8 03:27:58 [3612] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot read property 'thumbnail' of undefined
13/8 03:28:08 [3631] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot read property 'thumbnail' of undefined
13/8 03:28:08 [3631] - error:  Error: Callback was already called.
    at /opt/vapor/nodebb/node_modules/async/dist/async.js:903:32
    at /opt/vapor/nodebb/node_modules/async/dist/async.js:1071:13
    at Immediate.<anonymous> (/opt/vapor/nodebb/node_modules/nodebb-plugin-iframely/library.js:310:5)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)

NodeJS: v7.10 NodeBB: v1.5.3

Some help?

Regards

NormandoHall commented 7 years ago

0.7.3

15/8 22:13:33 [9713] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot create property 'meta' on string '<!DOCTYPE html>
Url: http://www.youtube.com/c/VapeandoLowCost
15/8 22:13:33 [9713] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot create property 'meta' on string '<!DOCTYPE html>
Url: http://www.smokerstore.de/
NormandoHall commented 7 years ago

The long story in the log:

15/8 22:13:33 [9713] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot create property 'meta' on string '<!DOCTYPE html>
<html>
<head>
    <title>Iframely - Embeds codes for today's Internet</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <meta name="description" content="Iframely gives you simple APIs to have all the Web's best media on your site and on all your users' devices.">
    <meta name="keywords" content="iframely, responsive, embed, codes, youtube, vimeo, twitter, open graph, oembed, facebook, open-source, widget, video, player, html5, iframe, nodejs">
    <meta name="twitter:site" content="@iframely">
    <meta name="og:title" content="Embeds platform for today's Web">
    <meta name="og:description" content="Iframely gives you embed codes which we craft with great care to make your site safe, fast and beautiful.">
    <meta name="og:image" content="//d3mjzoazuwwms3.cloudfront.net/r5/v43/img/thumbnail-iframely.png">
    <link rel="shortcut icon" href="//d3mjzoazuwwms3.cloudfront.net/r5/v43/img/favicon.ico" />
    <link rel="canonical" href="https://iframely.com" />

    <link rel="preconnect" href="//use.typekit.net">
    <script type="text/javascript" src="//use.typekit.net/aku1try.js"></script>
    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>

    <link href="//dhhtxtlopc6i5.cloudfront.net/r2/v283/css/style-shortly-2.css" rel="stylesheet" media="screen">
    <style>.b-feature{max-width:450px;}</style>

</head>
<body class="body--white">

<div class="layout">

    <header class="header">
    <div class="container">
        <div class="header__wrapper">

            <h1>
                <a href="/" class="logo header__logo" >
                    Iframely
                </a>
            </h1><!--/.header__logo-->

            <nav class="header-nav">

                <h1 class="header-nav__title">
                    Menu
                </h1>

                <ul class="header-nav__menu">

                            <li class="header-nav__item">
                                <a href="/embed" data-action="" data-page="preview publish" class="header-nav__link">
                                    Check URL
                                </a>
                            </li>
                            <li class="header-nav__item">
                                <a href="/features" class="header-nav__link">
                                    Features
                                </a>
                            </li>
                            <li class="header-nav__item">
                                <a href="/domains" data-action="" class="header-nav__link" data-page="linksDemo">
                                    Examples
                                </a>
                            </li>
                            <li class="header-nav__item">
                                <a href="/plans" class="header-nav__link">
                                    Pricing
                                </a>
                            </li>

                                <li class="header-nav__item header-nav__item--accent">
                                    <a href="/login" class="header-nav__link header-nav__link--accent">
                                        Log in
                                    </a>
                                </li>

                </ul><!--/.header-nav__menu-->

            </nav><!--/.header-nav-->

        </div><!--/.header__wrapper-->
    </div><!--/.container-->
</header><!--/.header-->
    <article>

        <div class="b-intro">
            <div class="container">

                <div class="b-intro__row">

                    <div class="b-intro__col">

                        <h1 class="b-intro__title">
                            Embed codes<br>for today's Internet
                        </h1>

                        <div class="b-intro__text">
                            <p>
                                Iframely gives you simple APIs to have all the Web's best media on your site and on all your users' devices.
                            </p>
                            <p class="b-intro__text-accent">
                                Send us your URL, and let the Web be with you.
                            </p>
                        </div>

                        <div class="b-intro__action">
                            <a href="/signup" class="btn-primary">
                               Get started
                            </a>
                            or
                            <a href="/embed" class="btn-link">
                                check your URL
                            </a>
                        </div>

                    </div>

                    <div class="b-intro__col">

                        <ul class="b-intro-logos">

                                <li class="b-intro-logos__item">
                                    <a href="/domains/facebook" title="Responsive embeds for facebook" data-action="" class="icon-facebook b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/instagram" title="Responsive embeds for instagram" data-action="" class="icon-instagram b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/twitter" title="Responsive embeds for twitter" data-action="" class="icon-twitter b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/vevo" title="Responsive embeds for vevo" data-action="" class="icon-vevo b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/500px" title="Responsive embeds for 500px" data-action="" class="icon-500px b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/spotify" title="Responsive embeds for spotify" data-action="" class="icon-spotify b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/giphy" title="Responsive embeds for giphy" data-action="" class="icon-giphy b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/youtube" title="Responsive embeds for youtube" data-action="" class="icon-youtube b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/streamable" title="Responsive embeds for streamable" data-action="" class="icon-streamable b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/flickr" title="Responsive embeds for flickr" data-action="" class="icon-flickr b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/cnn" title="Responsive embeds for cnn" data-action="" class="icon-cnn b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/imgur" title="Responsive embeds for imgur" data-action="" class="icon-imgur b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/issuu" title="Responsive embeds for issuu" data-action="" class="icon-issuu b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/soundcloud" title="Responsive embeds for soundcloud" data-action="" class="icon-soundcloud b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/reddit" title="Responsive embeds for reddit" data-action="" class="icon-reddit b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/google-maps" title="Responsive embeds for google-maps" data-action="" class="icon-google-maps b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/livestream" title="Responsive embeds for livestream" data-action="" class="icon-livestream b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/vimeo" title="Responsive embeds for vimeo" data-action="" class="icon-vimeo b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/github" title="Responsive embeds for github" data-action="" class="icon-github b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/ted" title="Responsive embeds for ted" data-action="" class="icon-ted b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/tumblr" title="Responsive embeds for tumblr" data-action="" class="icon-tumblr b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/kickstarter" title="Responsive embeds for kickstarter" data-action="" class="icon-kickstarter b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/pinterest" title="Responsive embeds for pinterest" data-action="" class="icon-pinterest b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/coub" title="Responsive embeds for coub" data-action="" class="icon-coub b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/behance" title="Responsive embeds for behance" data-action="" class="icon-behance b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/naver" title="Responsive embeds for naver" data-action="" class="icon-naver b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/scribd" title="Responsive embeds for scribd" data-action="" class="icon-scribd b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/storify" title="Responsive embeds for storify" data-action="" class="icon-storify b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/dribbble" title="Responsive embeds for dribbble" data-action="" class="icon-dribbble b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/polldaddy" title="Responsive embeds for polldaddy" data-action="" class="icon-polldaddy b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/amcharts" title="Responsive embeds for amcharts" data-action="" class="icon-amcharts b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/gfycat" title="Responsive embeds for gfycat" data-action="" class="icon-gfycat b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/apester" title="Responsive embeds for apester" data-action="" class="icon-apester b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/tidal" title="Responsive embeds for tidal" data-action="" class="icon-tidal b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/tableau" title="Responsive embeds for tableau" data-action="" class="icon-tableau b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/dailymotion" title="Responsive embeds for dailymotion" data-action="" class="icon-dailymotion b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/slideshare" title="Responsive embeds for slideshare" data-action="" class="icon-slideshare b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/bandcamp" title="Responsive embeds for bandcamp" data-action="" class="icon-bandcamp b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/brightcove" title="Responsive embeds for brightcove" data-action="" class="icon-brightcove b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/vidme" title="Responsive embeds for vidme" data-action="" class="icon-vidme b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/itunes" title="Responsive embeds for itunes" data-action="" class="icon-itunes b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/prezi" title="Responsive embeds for prezi" data-action="" class="icon-prezi b-intro-logos__link"></a>
                                </li>

                        </ul>

                    </div>

                </div>

            </div>
        </div><!--/.b-intro-->
        <div class="b-features">
            <div class="container">

                <div class="b-features__row">
                    <div class="b-features__col">
                    <section class="b-feature">

                        <header class="b-feature__header">
                            <h1 class="b-feature__title">
                                Unfurl
                            </h1>
                        </header><!--/.b-feature__header-->

                        <div class="b-feature__text">
                            <p>
                                Iframely sees the Web the same way Twitter, Facebook and WordPress do. Send us your URL and get meta, images, rich media and more.
                            </p>
                        </div><!--/.b-feature__text-->

                        </section>
                    </div>
                    <div class="b-features__col">

                        <section class="b-feature">

                            <header class="b-feature__header">
                                <h1 class="b-feature__title">
                                    Embed
                                </h1>
                            </header><!--/.b-feature__header-->

                            <div class="b-feature__text">
                                <p>
                                    Get responsive embed codes for your favorite rich media publishers and thousands more. Plus, URL previews for the rest of the Web.
                                </p>
                            </div><!--/.b-feature__text-->

                        </section><!--/.b-feature-->
                    </div>
                </div>

                <div class="b-features__row">
                    <div class="b-features__col">
                        <section class="b-feature">

                            <header class="b-feature__header">
                                <h1 class="b-feature__title">
                                    Display
                                </h1>
                            </header><!--/.b-feature__header-->

                            <div class="b-feature__text">
                                <p>
                                    Our iFrame helpers enable variety of HTML features. Your users get fast load times and performance. You get consistency and a team that maintains it.
                                </p>
                            </div><!--/.b-feature__text-->

                        </section><!--/.b-feature-->
                    </div>
                    <div class="b-features__col">
                        <section class="b-feature">

                            <header class="b-feature__header">
                                <h1 class="b-feature__title">
                                    Customize
                                </h1>
                            </header><!--/.b-feature__header-->

                            <div class="b-feature__text">
                                <p>
                                    Iframely lets you configure what you get and how you get it. Fine-tune yourself, or ask for our quick help if you need more.
                                </p>
                            </div><!--/.b-feature__text-->

                        </section><!--/.b-feature-->
                    </div>
                </div>
                <div class="b-hero-header b-features__action">
                    <a href="/features" class="btn-hero b-hero-header__btn">
                        Learn more
                    </a>
                </div>

            </div>
        </div>
        <div class="b-stat">
            <div class="container">

                <div class="b-stat__row">
                    <div class="b-stat__col">
                        <div class="b-stat__item">
                            <div class="b-stat__value">
                                5'079
                            </div>
                            <div class="b-stat__text">
                                Sites displayed our
                                iFrames in last 30 days
                            </div>
                        </div>
                    </div>
                    <div class="b-stat__col">
                        <div class="b-stat__item">
                            <div class="b-stat__value">
                                740 mln
                            </div>
                            <div class="b-stat__text">
                                requests<br>
                                a month
                            </div>
                        </div>
                    </div>
                    <div class="b-stat__col">
                        <div class="b-stat__item">
                            <div class="b-stat__value">
                                99.9999%
                            </div>
                            <div class="b-stat__text">
                                Uptime<br>
                                last 5 years
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <section class="b-company">
                        <div class="container">

                <h1 class="b-company__title" style="margin-bottom: 32px;">
                    Chances are, we've already met:
                </h1>

                <ul class="b-company__list" style="margin-bottom: 32px;">
                    <li class="b-company__item" >
                        <a href="http://www.huffingtonpost.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/the-huffington-post.svg" class="b-company__icon" alt="The Huffington Post">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="http://www.vox.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/vox.svg" class="b-company__icon" alt="Vox Media" style="padding-bottom:8px;">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="http://lexpress.fr/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/lexpress.svg" class="b-company__icon" alt="L'Express">
                        </a>
                    </li>
                    <li class="b-company__item b-company__item--listly">
                        <a href="http://vice.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/vice.svg" class="b-company__icon" alt="VICE">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="https://www.atlassian.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/atlassian.svg" class="b-company__icon" alt="Atlassian" style="padding-bottom:8px;">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="http://redbooth.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/redbooth.png" class="b-company__icon" alt="Redbooth">
                        </a>
                    </li>
                </ul>

            </div>

        </section>

        <div class="b-hero b-hero-landing">
            <div class="container b-hero__container">

                <div class="b-hero__row">
                    <div class="b-hero__col">

                        <div class="b-hero-header b-hero-header--public">

                            <h1 class="b-hero-header__title">
                                Get connected
                            </h1>

                            <ul class="b-hero-header-list">
                                <li class="b-hero-header-list__item">
                                    Get your access now
                                <li class="b-hero-header-list__item">
                                    Integrate via simple API
                                </li>
                                <li class="b-hero-header-list__item">
                                    Save your time today
                                </li>
                                <li class="b-hero-header-list__item">
                                    And more so in the future
                                </li>
                            </ul>
                            <a href="/embed" class="btn-hero b-hero-header__btn">
                                or test it first
                            </a>

                        </div><!--/.b-hero-header-->

                    </div><!--/.b-hero__col-->
                    <div class="b-hero__col">

                        <div class="b-hero-box">

                            <h2 class="b-hero-box__title">
                                Use API
                            </h2>

                            <p class="b-hero-box__tagline">
                                Over 5000 already are
                            </p>

                            <div class="b-hero-form">

                                <div class="alert b-hero-form__alert s-error" style="display: none;">

                                </div>

                                <div class="b-hero-form__control">
                                    <input type="text" class="b-hero-form__input s-input" placeholder="Full name" name="name">
                                </div>

                                <div class="b-hero-form__control">
                                    <input type="email" class="b-hero-form__input s-input" placeholder="Email" name="email">
                                </div>

                                <div class="b-hero-form__control">
                                    <input type="password" class="b-hero-form__input s-input" placeholder="Password" name="password">
                                </div>

                                <div class="b-hero-form__action">
                                    <button class="btn-primary btn-primary--large b-hero-form__btn s-signup">
                                        Sign up now
                                    </button>
                                </div>

                            </div><!--/.b-hero-form-->

                        </div><!--/.b-hero-box-->

                    </div><!--/.b-hero__col-->
                </div><!--/.b-hero__row-->

            </div><!--/.container-->
        </div><!--/.b-hero-->

    </article>

    <footer class="footer footer--center footer--green">
    <div class="container">

        &copy; 2012-2017
        <a href="/team">Itteco</a>
        <a href="/team">Ottawa, Canada</a>
        <a href="mailto:support@iframely.com" class="s-ask-question">Ask a Question</a>
        <a href="https://twitter.com/iframely" target="_blank">Find us on Twitter</a>

            <a href="/docs">API Docs</a>

        <a href="/terms">Terms</a>

    </div><!--/.container-->
</footer><!--/.footer-->

</div>

<script type="text/javascript" defer="defer">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-29223392-4']);

    _gaq.push(['_setDomainName', 'iframely.com']);
    _gaq.push(['_setAllowLinker', true]);
    _gaq.push(['_trackPageview']);
    _gaq.push(['_trackPageLoadTime']);

    (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

</script>

<script>
    setTimeout(function() {
        var s = document.createElement('script');
        s.setAttribute('src', "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js");
        s.setAttribute('async', "true");
        document.head.appendChild(s);
    }, 1000);

    setTimeout(function() {
        var s = document.createElement('script');
        s.setAttribute('src', "//dhhtxtlopc6i5.cloudfront.net/r2/v283/js/dashboard2.js");
        s.setAttribute('async', "true");
        document.head.appendChild(s);
    }, 3000);

(function(){function f(){if(window.$){var b=$(".s-error"),k=function(){b.hide();var a=$.trim($('[name="email"]').val()),c;(c=!a)||(c=!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(a));return c?(b.text("Need a valid email please").addClass("alert--error").removeClass("alert--success").show(),!1):a},l=function(){b.hide();var a=$.trim($('[name="password"]').val());return a?5>a.length?(b.text("Please choose password with at least 5 characters").addClass("alert--error").removeClass("alert--success").show(),
!1):a:(b.text("Choose your password").addClass("alert--error").removeClass("alert--success").show(),!1)},m=function(){b.hide();var a=$.trim($('[name="name"]').val());return a?a:(b.text("Enter your name please").addClass("alert--error").removeClass("alert--success").show(),!1)};$(".s-input").keyup(function(a){13==a.keyCode&&h()});var n=function(a,b,d){$.ajax({type:"POST",dataType:"json",url:a,contentType:"application/json",data:JSON.stringify(b),processData:!1,success:function(a,b,c){d&&d(null,a)},
error:function(a,b,c){if(d){var e,g;try{g=JSON.parse(a.responseText),e=g.error}catch(f){}d({error:e||a.status||b,jqXHR:a,textStatus:b,errorThrown:c},g)}}})},e=!1,h=function(a){a&&a.preventDefault();if(!e&&(a=m())){var c=k();if(c){var d=l();d&&(b.hide(),b.html("<strong>Well done!</strong> Signing in...").addClass("alert--success").removeClass("alert--error").show(),e=!0,n("/rest/me/register",{name:a,email:c,password:d},function(a){e=!1;a?b.html("<strong>Oh snap!</strong> "+a.error).addClass("alert--error").removeClass("alert--success").show():
document.location="/"}))}}};$(".s-signup").click(h);$("[data-src]").each(function(){var a=$(this);a.attr("src",a.attr("data-src"))})}else setTimeout(f,100)}f()})();

</script>

</body>
</html>'. Url: http://www.youtube.com/c/VapeandoLowCost
15/8 22:13:33 [9713] - error: [plugin/iframely] Could not parse embed! TypeError: Cannot create property 'meta' on string '<!DOCTYPE html>
<html>
<head>
    <title>Iframely - Embeds codes for today's Internet</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <meta name="description" content="Iframely gives you simple APIs to have all the Web's best media on your site and on all your users' devices.">
    <meta name="keywords" content="iframely, responsive, embed, codes, youtube, vimeo, twitter, open graph, oembed, facebook, open-source, widget, video, player, html5, iframe, nodejs">
    <meta name="twitter:site" content="@iframely">
    <meta name="og:title" content="Embeds platform for today's Web">
    <meta name="og:description" content="Iframely gives you embed codes which we craft with great care to make your site safe, fast and beautiful.">
    <meta name="og:image" content="//d3mjzoazuwwms3.cloudfront.net/r5/v43/img/thumbnail-iframely.png">
    <link rel="shortcut icon" href="//d3mjzoazuwwms3.cloudfront.net/r5/v43/img/favicon.ico" />
    <link rel="canonical" href="https://iframely.com" />

    <link rel="preconnect" href="//use.typekit.net">
    <script type="text/javascript" src="//use.typekit.net/aku1try.js"></script>
    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>

    <link href="//dhhtxtlopc6i5.cloudfront.net/r2/v283/css/style-shortly-2.css" rel="stylesheet" media="screen">
    <style>.b-feature{max-width:450px;}</style>

</head>
<body class="body--white">

<div class="layout">

    <header class="header">
    <div class="container">
        <div class="header__wrapper">

            <h1>
                <a href="/" class="logo header__logo" >
                    Iframely
                </a>
            </h1><!--/.header__logo-->

            <nav class="header-nav">

                <h1 class="header-nav__title">
                    Menu
                </h1>

                <ul class="header-nav__menu">

                            <li class="header-nav__item">
                                <a href="/embed" data-action="" data-page="preview publish" class="header-nav__link">
                                    Check URL
                                </a>
                            </li>
                            <li class="header-nav__item">
                                <a href="/features" class="header-nav__link">
                                    Features
                                </a>
                            </li>
                            <li class="header-nav__item">
                                <a href="/domains" data-action="" class="header-nav__link" data-page="linksDemo">
                                    Examples
                                </a>
                            </li>
                            <li class="header-nav__item">
                                <a href="/plans" class="header-nav__link">
                                    Pricing
                                </a>
                            </li>

                                <li class="header-nav__item header-nav__item--accent">
                                    <a href="/login" class="header-nav__link header-nav__link--accent">
                                        Log in
                                    </a>
                                </li>

                </ul><!--/.header-nav__menu-->

            </nav><!--/.header-nav-->

        </div><!--/.header__wrapper-->
    </div><!--/.container-->
</header><!--/.header-->
    <article>

        <div class="b-intro">
            <div class="container">

                <div class="b-intro__row">

                    <div class="b-intro__col">

                        <h1 class="b-intro__title">
                            Embed codes<br>for today's Internet
                        </h1>

                        <div class="b-intro__text">
                            <p>
                                Iframely gives you simple APIs to have all the Web's best media on your site and on all your users' devices.
                            </p>
                            <p class="b-intro__text-accent">
                                Send us your URL, and let the Web be with you.
                            </p>
                        </div>

                        <div class="b-intro__action">
                            <a href="/signup" class="btn-primary">
                               Get started
                            </a>
                            or
                            <a href="/embed" class="btn-link">
                                check your URL
                            </a>
                        </div>

                    </div>

                    <div class="b-intro__col">

                        <ul class="b-intro-logos">

                                <li class="b-intro-logos__item">
                                    <a href="/domains/facebook" title="Responsive embeds for facebook" data-action="" class="icon-facebook b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/instagram" title="Responsive embeds for instagram" data-action="" class="icon-instagram b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/twitter" title="Responsive embeds for twitter" data-action="" class="icon-twitter b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/vevo" title="Responsive embeds for vevo" data-action="" class="icon-vevo b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/500px" title="Responsive embeds for 500px" data-action="" class="icon-500px b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/spotify" title="Responsive embeds for spotify" data-action="" class="icon-spotify b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/giphy" title="Responsive embeds for giphy" data-action="" class="icon-giphy b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/youtube" title="Responsive embeds for youtube" data-action="" class="icon-youtube b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/streamable" title="Responsive embeds for streamable" data-action="" class="icon-streamable b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/flickr" title="Responsive embeds for flickr" data-action="" class="icon-flickr b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/cnn" title="Responsive embeds for cnn" data-action="" class="icon-cnn b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/imgur" title="Responsive embeds for imgur" data-action="" class="icon-imgur b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/issuu" title="Responsive embeds for issuu" data-action="" class="icon-issuu b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/soundcloud" title="Responsive embeds for soundcloud" data-action="" class="icon-soundcloud b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/reddit" title="Responsive embeds for reddit" data-action="" class="icon-reddit b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/google-maps" title="Responsive embeds for google-maps" data-action="" class="icon-google-maps b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/livestream" title="Responsive embeds for livestream" data-action="" class="icon-livestream b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/vimeo" title="Responsive embeds for vimeo" data-action="" class="icon-vimeo b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/github" title="Responsive embeds for github" data-action="" class="icon-github b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/ted" title="Responsive embeds for ted" data-action="" class="icon-ted b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/tumblr" title="Responsive embeds for tumblr" data-action="" class="icon-tumblr b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/kickstarter" title="Responsive embeds for kickstarter" data-action="" class="icon-kickstarter b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/pinterest" title="Responsive embeds for pinterest" data-action="" class="icon-pinterest b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/coub" title="Responsive embeds for coub" data-action="" class="icon-coub b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/behance" title="Responsive embeds for behance" data-action="" class="icon-behance b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/naver" title="Responsive embeds for naver" data-action="" class="icon-naver b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/scribd" title="Responsive embeds for scribd" data-action="" class="icon-scribd b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/storify" title="Responsive embeds for storify" data-action="" class="icon-storify b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/dribbble" title="Responsive embeds for dribbble" data-action="" class="icon-dribbble b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/polldaddy" title="Responsive embeds for polldaddy" data-action="" class="icon-polldaddy b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/amcharts" title="Responsive embeds for amcharts" data-action="" class="icon-amcharts b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/gfycat" title="Responsive embeds for gfycat" data-action="" class="icon-gfycat b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/apester" title="Responsive embeds for apester" data-action="" class="icon-apester b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/tidal" title="Responsive embeds for tidal" data-action="" class="icon-tidal b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/tableau" title="Responsive embeds for tableau" data-action="" class="icon-tableau b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/dailymotion" title="Responsive embeds for dailymotion" data-action="" class="icon-dailymotion b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/slideshare" title="Responsive embeds for slideshare" data-action="" class="icon-slideshare b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/bandcamp" title="Responsive embeds for bandcamp" data-action="" class="icon-bandcamp b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/brightcove" title="Responsive embeds for brightcove" data-action="" class="icon-brightcove b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/vidme" title="Responsive embeds for vidme" data-action="" class="icon-vidme b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/itunes" title="Responsive embeds for itunes" data-action="" class="icon-itunes b-intro-logos__link"></a>
                                </li>

                                <li class="b-intro-logos__item">
                                    <a href="/domains/prezi" title="Responsive embeds for prezi" data-action="" class="icon-prezi b-intro-logos__link"></a>
                                </li>

                        </ul>

                    </div>

                </div>

            </div>
        </div><!--/.b-intro-->
        <div class="b-features">
            <div class="container">

                <div class="b-features__row">
                    <div class="b-features__col">
                    <section class="b-feature">

                        <header class="b-feature__header">
                            <h1 class="b-feature__title">
                                Unfurl
                            </h1>
                        </header><!--/.b-feature__header-->

                        <div class="b-feature__text">
                            <p>
                                Iframely sees the Web the same way Twitter, Facebook and WordPress do. Send us your URL and get meta, images, rich media and more.
                            </p>
                        </div><!--/.b-feature__text-->

                        </section>
                    </div>
                    <div class="b-features__col">

                        <section class="b-feature">

                            <header class="b-feature__header">
                                <h1 class="b-feature__title">
                                    Embed
                                </h1>
                            </header><!--/.b-feature__header-->

                            <div class="b-feature__text">
                                <p>
                                    Get responsive embed codes for your favorite rich media publishers and thousands more. Plus, URL previews for the rest of the Web.
                                </p>
                            </div><!--/.b-feature__text-->

                        </section><!--/.b-feature-->
                    </div>
                </div>

                <div class="b-features__row">
                    <div class="b-features__col">
                        <section class="b-feature">

                            <header class="b-feature__header">
                                <h1 class="b-feature__title">
                                    Display
                                </h1>
                            </header><!--/.b-feature__header-->

                            <div class="b-feature__text">
                                <p>
                                    Our iFrame helpers enable variety of HTML features. Your users get fast load times and performance. You get consistency and a team that maintains it.
                                </p>
                            </div><!--/.b-feature__text-->

                        </section><!--/.b-feature-->
                    </div>
                    <div class="b-features__col">
                        <section class="b-feature">

                            <header class="b-feature__header">
                                <h1 class="b-feature__title">
                                    Customize
                                </h1>
                            </header><!--/.b-feature__header-->

                            <div class="b-feature__text">
                                <p>
                                    Iframely lets you configure what you get and how you get it. Fine-tune yourself, or ask for our quick help if you need more.
                                </p>
                            </div><!--/.b-feature__text-->

                        </section><!--/.b-feature-->
                    </div>
                </div>
                <div class="b-hero-header b-features__action">
                    <a href="/features" class="btn-hero b-hero-header__btn">
                        Learn more
                    </a>
                </div>

            </div>
        </div>
        <div class="b-stat">
            <div class="container">

                <div class="b-stat__row">
                    <div class="b-stat__col">
                        <div class="b-stat__item">
                            <div class="b-stat__value">
                                5'079
                            </div>
                            <div class="b-stat__text">
                                Sites displayed our
                                iFrames in last 30 days
                            </div>
                        </div>
                    </div>
                    <div class="b-stat__col">
                        <div class="b-stat__item">
                            <div class="b-stat__value">
                                740 mln
                            </div>
                            <div class="b-stat__text">
                                requests<br>
                                a month
                            </div>
                        </div>
                    </div>
                    <div class="b-stat__col">
                        <div class="b-stat__item">
                            <div class="b-stat__value">
                                99.9999%
                            </div>
                            <div class="b-stat__text">
                                Uptime<br>
                                last 5 years
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <section class="b-company">
                        <div class="container">

                <h1 class="b-company__title" style="margin-bottom: 32px;">
                    Chances are, we've already met:
                </h1>

                <ul class="b-company__list" style="margin-bottom: 32px;">
                    <li class="b-company__item" >
                        <a href="http://www.huffingtonpost.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/the-huffington-post.svg" class="b-company__icon" alt="The Huffington Post">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="http://www.vox.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/vox.svg" class="b-company__icon" alt="Vox Media" style="padding-bottom:8px;">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="http://lexpress.fr/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/lexpress.svg" class="b-company__icon" alt="L'Express">
                        </a>
                    </li>
                    <li class="b-company__item b-company__item--listly">
                        <a href="http://vice.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/vice.svg" class="b-company__icon" alt="VICE">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="https://www.atlassian.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/atlassian.svg" class="b-company__icon" alt="Atlassian" style="padding-bottom:8px;">
                        </a>
                    </li>
                    <li class="b-company__item" >
                        <a href="http://redbooth.com/" target="_blank" class="b-company__link">
                            <img data-src="//dhhtxtlopc6i5.cloudfront.net/r2/v283/img/company/redbooth.png" class="b-company__icon" alt="Redbooth">
                        </a>
                    </li>
                </ul>

            </div>

        </section>

        <div class="b-hero b-hero-landing">
            <div class="container b-hero__container">

                <div class="b-hero__row">
                    <div class="b-hero__col">

                        <div class="b-hero-header b-hero-header--public">

                            <h1 class="b-hero-header__title">
                                Get connected
                            </h1>

                            <ul class="b-hero-header-list">
                                <li class="b-hero-header-list__item">
                                    Get your access now
                                <li class="b-hero-header-list__item">
                                    Integrate via simple API
                                </li>
                                <li class="b-hero-header-list__item">
                                    Save your time today
                                </li>
                                <li class="b-hero-header-list__item">
                                    And more so in the future
                                </li>
                            </ul>
                            <a href="/embed" class="btn-hero b-hero-header__btn">
                                or test it first
                            </a>

                        </div><!--/.b-hero-header-->

                    </div><!--/.b-hero__col-->
                    <div class="b-hero__col">

                        <div class="b-hero-box">

                            <h2 class="b-hero-box__title">
                                Use API
                            </h2>

                            <p class="b-hero-box__tagline">
                                Over 5000 already are
                            </p>

                            <div class="b-hero-form">

                                <div class="alert b-hero-form__alert s-error" style="display: none;">

                                </div>

                                <div class="b-hero-form__control">
                                    <input type="text" class="b-hero-form__input s-input" placeholder="Full name" name="name">
                                </div>

                                <div class="b-hero-form__control">
                                    <input type="email" class="b-hero-form__input s-input" placeholder="Email" name="email">
                                </div>

                                <div class="b-hero-form__control">
                                    <input type="password" class="b-hero-form__input s-input" placeholder="Password" name="password">
                                </div>

                                <div class="b-hero-form__action">
                                    <button class="btn-primary btn-primary--large b-hero-form__btn s-signup">
                                        Sign up now
                                    </button>
                                </div>

                            </div><!--/.b-hero-form-->

                        </div><!--/.b-hero-box-->

                    </div><!--/.b-hero__col-->
                </div><!--/.b-hero__row-->

            </div><!--/.container-->
        </div><!--/.b-hero-->

    </article>

    <footer class="footer footer--center footer--green">
    <div class="container">

        &copy; 2012-2017
        <a href="/team">Itteco</a>
        <a href="/team">Ottawa, Canada</a>
        <a href="mailto:support@iframely.com" class="s-ask-question">Ask a Question</a>
        <a href="https://twitter.com/iframely" target="_blank">Find us on Twitter</a>

            <a href="/docs">API Docs</a>

        <a href="/terms">Terms</a>

    </div><!--/.container-->
</footer><!--/.footer-->

</div>

<script type="text/javascript" defer="defer">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-29223392-4']);

    _gaq.push(['_setDomainName', 'iframely.com']);
    _gaq.push(['_setAllowLinker', true]);
    _gaq.push(['_trackPageview']);
    _gaq.push(['_trackPageLoadTime']);

    (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

</script>

<script>
    setTimeout(function() {
        var s = document.createElement('script');
        s.setAttribute('src', "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js");
        s.setAttribute('async', "true");
        document.head.appendChild(s);
    }, 1000);

    setTimeout(function() {
        var s = document.createElement('script');
        s.setAttribute('src', "//dhhtxtlopc6i5.cloudfront.net/r2/v283/js/dashboard2.js");
        s.setAttribute('async', "true");
        document.head.appendChild(s);
    }, 3000);

(function(){function f(){if(window.$){var b=$(".s-error"),k=function(){b.hide();var a=$.trim($('[name="email"]').val()),c;(c=!a)||(c=!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(a));return c?(b.text("Need a valid email please").addClass("alert--error").removeClass("alert--success").show(),!1):a},l=function(){b.hide();var a=$.trim($('[name="password"]').val());return a?5>a.length?(b.text("Please choose password with at least 5 characters").addClass("alert--error").removeClass("alert--success").show(),
!1):a:(b.text("Choose your password").addClass("alert--error").removeClass("alert--success").show(),!1)},m=function(){b.hide();var a=$.trim($('[name="name"]').val());return a?a:(b.text("Enter your name please").addClass("alert--error").removeClass("alert--success").show(),!1)};$(".s-input").keyup(function(a){13==a.keyCode&&h()});var n=function(a,b,d){$.ajax({type:"POST",dataType:"json",url:a,contentType:"application/json",data:JSON.stringify(b),processData:!1,success:function(a,b,c){d&&d(null,a)},
error:function(a,b,c){if(d){var e,g;try{g=JSON.parse(a.responseText),e=g.error}catch(f){}d({error:e||a.status||b,jqXHR:a,textStatus:b,errorThrown:c},g)}}})},e=!1,h=function(a){a&&a.preventDefault();if(!e&&(a=m())){var c=k();if(c){var d=l();d&&(b.hide(),b.html("<strong>Well done!</strong> Signing in...").addClass("alert--success").removeClass("alert--error").show(),e=!0,n("/rest/me/register",{name:a,email:c,password:d},function(a){e=!1;a?b.html("<strong>Oh snap!</strong> "+a.error).addClass("alert--error").removeClass("alert--success").show():
document.location="/"}))}}};$(".s-signup").click(h);$("[data-src]").each(function(){var a=$(this);a.attr("src",a.attr("data-src"))})}else setTimeout(f,100)}f()})();

</script>

</body>
</html>'. Url: http://www.smokerstore.de/
nleush commented 7 years ago

@NormandoHall Can you show me please your iframely plugin setting value "API key or endpoint address", which is on page "/admin/plugins/iframely". You can hide API key value with '*'.

NormandoHall commented 7 years ago

@nleush I am using our own self-hosted iframely server, no key api. This can be access through https. If you want to test with it, I can send you a pm.

The endpoint I set in plugin settings has de form of https://iframely.example.com

image

nleush commented 7 years ago

@NormandoHall As I see the problem, plugin makes call not to api, but to iframely.com frontpage.

I was expected you've specified wrong API endpoint. According to your screenshot, there is only api key entered, and that means plugin will use default endpoint which is 'http://iframe.ly/api/iframely'.

Please send your raw plugin settings (API endpoint) to support@iframely.com (without '*'). I will look at it.

NormandoHall commented 7 years ago

So sorry, I writed here. Ok, I will send to support email address.

Thank you.

nleush commented 7 years ago

@NormandoHall yes, add /iframely

NormandoHall commented 7 years ago

Oppp.... now added /iframely at the end and run like a charm :smile:

Anyway I was send you the email I you need to test something.

Thank you so much, and sorry for my mistake

nleush commented 7 years ago

No problem.