Giter Club home page Giter Club logo

Comments (4)

etianen avatar etianen commented on June 19, 2024

Your solution can be found at the bottom of this wiki page: :)

https://github.com/etianen/html5media/wiki/API

On 2 July 2013 03:54, Todd Lynch [email protected] wrote:

If you do the following in IE8:

  1. Visit http://estrovenchangingways.com/

  2. View the video on the page - it currently works

  3. In the primary navigation at the top of the page select Blog >> Christy

  4. Her video appear as a gray box / rectangle.

The error is as follows:

=============== ERROR HERE

function _flash_addCallback(instance, name) {
instance[name] = function () {
return eval(instance.CallFunction("" + _flash_argumentsToXML(arguments,0)

  • ""));
    }
    }

-------------- The error is on the return eval(.....)); line

============= CONSOLE LOG
script block (1716), line 49 character 5
SCRIPT16389:

script block (1716), line 49 character 5
SCRIPT16389: Unknown name.
script block (1716), line 49 character 5

============= STACK TRACE

Main page

Anonymous function, script block (1716), line 49
Anonymous function, html5media.min.js, line 8
unload, html5media.min.js, line 4
Anonymous function, html5media.min.js, line 3
i, html5media.min.js, line 1
load, html5media.min.js, line 3
Anonymous function, html5media.min.js, line 14

The function that handles the blog loading is as follows:

function load_blog(href) {
_gaq.push(['_trackEvent', 'Blog', 'View', href]);
document.location.hash = href;
$(".post-area .photo img").attr("src","/public/images/loader.gif");
$(".post-area .container .name").html("Loading...");
$(".post-area .container .str").html("");
$(".post-list").hide();
$(".week-box").hide();

        scroll_to("#blog_page_holder", href);
        $.get(href, function(data){
                document.getElementById("blog_page_holder").innerHTML = data;
                $(".post-list").show();
                attach_video_events();
                set_video_size();
                html5media();
        },"html");
    }

Thanks in advance,
Todd


Reply to this email directly or view it on GitHubhttps://github.com//issues/38
.

from html5media.

toddhlynch avatar toddhlynch commented on June 19, 2024

Hi David,

I assume that you are referring to calling html5media() once I have updated
the DOM with new video tags. I already read the source code of html5video
and found that I should do that:

$.get(href, function(data){

document.getElementById("blog_page_holder").innerHTML = data; <<<< Update
DOM
$(".post-list").show();
attach_video_events();
set_video_size();
html5media(); <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< run the replacement
function
},"html");
}

If I look at the DOM of the page in IE8, the video tag has been swapped
out. I actually think the error occurs when flash is trying to hook up its
JS callback events.

Any thoughts?

Thanks,
Todd

On Tue, Jul 2, 2013 at 4:36 AM, Dave Hall [email protected] wrote:

Your solution can be found at the bottom of this wiki page: :)

https://github.com/etianen/html5media/wiki/API

On 2 July 2013 03:54, Todd Lynch [email protected] wrote:

If you do the following in IE8:

  1. Visit http://estrovenchangingways.com/

  2. View the video on the page - it currently works

  3. In the primary navigation at the top of the page select Blog >>
    Christy

  4. Her video appear as a gray box / rectangle.

The error is as follows:

=============== ERROR HERE

function _flash_addCallback(instance, name) {
instance[name] = function () {
return eval(instance.CallFunction("" +
_flash_argumentsToXML(arguments,0)

  • ""));
    }
    }

-------------- The error is on the return eval(.....)); line

============= CONSOLE LOG
script block (1716), line 49 character 5
SCRIPT16389:

script block (1716), line 49 character 5
SCRIPT16389: Unknown name.
script block (1716), line 49 character 5

============= STACK TRACE

Main page

Anonymous function, script block (1716), line 49
Anonymous function, html5media.min.js, line 8
unload, html5media.min.js, line 4
Anonymous function, html5media.min.js, line 3
i, html5media.min.js, line 1
load, html5media.min.js, line 3
Anonymous function, html5media.min.js, line 14

The function that handles the blog loading is as follows:

function load_blog(href) {
_gaq.push(['_trackEvent', 'Blog', 'View', href]);
document.location.hash = href;
$(".post-area .photo img").attr("src","/public/images/loader.gif");
$(".post-area .container .name").html("Loading...");
$(".post-area .container .str").html("");
$(".post-list").hide();
$(".week-box").hide();

scroll_to("#blog_page_holder", href);
$.get(href, function(data){
document.getElementById("blog_page_holder").innerHTML = data;
$(".post-list").show();
attach_video_events();
set_video_size();
html5media();
},"html");
}

Thanks in advance,
Todd


Reply to this email directly or view it on GitHub<
https://github.com/etianen/html5media/issues/38>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-20333361
.

from html5media.

toddhlynch avatar toddhlynch commented on June 19, 2024

The issue appears to be a flowplayer issue. I have opened a ticket with them.

from html5media.

etianen avatar etianen commented on June 19, 2024

Thanks for letting me know!

On 2 July 2013 20:34, Todd Lynch [email protected] wrote:

The issue appears to be a flowplayer issue. I have opened a ticket with
them.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-20369984
.

from html5media.

Related Issues (20)

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.