• David Ferraz

    Thank you! Work like a charm! :D

    remote.lua(1080p):

    local ms = libs.mouse;
    
    -- @help Play
    actions.play = function()
        ms.moveto(20,1044);
        os.sleep (50);
        ms.click();
    end
    
    -- @help Rewind 30 seconds
    actions.rewind = function()
        ms.moveto(71,1040);
        os.sleep (50);
        ms.click();
    end
    
    -- @help Mute
    actions.mute = function()
        ms.moveto(1697,1040);
        os.sleep (50);
        ms.click();
    end
    
    -- @help Unmute
    actions.unmute = function()
        ms.moveto(1693,966);
        os.sleep (50);
        ms.click();
    end
    

    Is there a easier way to create a widget, something like this: http://remote-creator.appspot.com/ (not working).? Thanks again.

    posted in Media read more
  • David Ferraz

    Thank you, Nathan! On saturday i'll have time to try it, i'll post a feedback here! Thanks! =D

    posted in Media read more
  • David Ferraz

    Would you have a tutorial how to do it?

    posted in Media read more
  • David Ferraz

    No, not even the space bar. I looked google for shortcuts and nothing, the mouse idea seems good, does it take a lot of work?

    Here is the html code when i open on chrome:

    
    <!DOCTYPE html>
    <html class="no-js">
    <head>
        <!--ADOBE DTM TRACK-->
        <script id="adobe-dtm-track" src="https://www.hbogo.com.br//assets.adobedtm.com/2d24603152f9db3be506ae597f8122269b5d4dra/satelliteLib-7ba3167d42920782d9a0049adcbd21e609d09425.js;waa0d5acef42383cee"></script>
        <base href="/">
        <meta charset="utf-8">
        <title>HBO</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta property="og:type" content="website" />
        <meta property="og:title" content="HBO Go LATAM" />
        <meta property="og:description" content="HBO Go Latin America" />
    
        <link href="/build/main.min.css?rel=67138f10dc" rel="stylesheet" />
        <script src="/build/main.min.js?rel=277d507195"></script>
    </head>
    <body>
    
        <div id="fb-root"></div>
    
        <div class="wrapper limit-size">
            <div id="popup" class="countdown modalContent">
                <span class="close-button-modal" id="closeButtonModal"></span>
                <div id="text" class="popup_hbo_desc"></div>
                <div id="appVersion" class="app-version hidden"></div>
                <div id="buttons" class="hbo_ctaSet">
    
                    <span class="primaryBtn ok-button" id="okButton"></span>
                    <span class="enabledBtn cancel-button" id="cancelButton"></span>
                    <!--<span class="enabledBtn close-button" id="closeButton"></span>-->
                </div>
            </div>
            <div id="popupOverFlow"></div>
    
            <div ng-include="'views/partials/navigation.html'"></div>
    
            <div class="HBO_GO" ng-view="" autoscroll="true"></div>
    
            <hbo-footer></hbo-footer>
    
            <div id="player">
                <div class="player-header">
                    <span class="player-close icon"></span>
                    <span class="player-mini icon"></span>
                    <span id="player-title"></span>
                    <span id="player-cast"></span>
                </div>
    
                <div id="player-container">
    
                </div>
    
                <div id="poster">
    
                    <div class="detail_meta_container">
                        <div class="topGradientContainer">
    
                            <h3 class="typeCallout"></h3>
                            <!--<h3 class="contentCategory"></h3>-->
                            <h2 class='seriesName'></h2>
    
                            <div class="detail_metadata_container">
                                <div>
                                    <span class="detail_metadata_inner_container"></span>
                                    <span class="detail_metadata_inner_container"></span>
                                    <span class="detail_metadata_inner_container"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
    
    
                <div class="player-controls">
                    <div class="left-element icon" id="player-playPause"></div>
                    <div class="left-element icon" id="player-stop"></div>
                    <div class="left-element icon" id="player-replay"></div>
                    <div class="left-element icon" id="player-previousEpisode"></div>
                    <div class="left-element icon" id="player-nextEpisode"></div>
                    <div class="left-element text" id="player-time"></div>
    
                    <!--<span id="player-seekFw"></span>-->
                    <div class="right-element icon" id="player-fullscreen"></div>
                    <div class="right-element icon" id="player-leave-fullscreen"></div>
                    <div class="right-element icon player-chromecast-icon"></div>
    
                    <div class="right-element text popup icon" id="player-audio">
                        <span></span>
                        <div class="language-menu">
                            <div class="menu-content">
                                <span class="selected"></span>
                                <span></span>
                            </div>
                        </div>
                    </div>
    
    
                    <div class="right-element text icon popup" id="player-subtitle">
                        <span></span>
                        <div class="language-menu">
                            <div class="menu-content">
                                <span class="selected"></span>
                                <span></span>
                                <span></span>
                            </div>
                        </div>
                    </div>
    
    
    
                    <div class="right-element icon popup" id="player-volume">
                        <span class="volume-slider-container">
                            <span class="volume-slider" id="volume-slider">
                                <span class="volume-value" id="volume-value">
                                    <span id="volume-dragger"></span>
                                </span>
                            </span>
                        </span>
                    </div>
                    <div class="right-element text" id="player-duration"></div>
    
                    <div id="player-timeline">
                        <div id="player-timeline-progress">
                            <div class="left-element icon" id="player-timeline-bolita"></div>
                        </div>
                    </div>
    
                </div>
            </div>
        </div>
    
        <div id="loaderDiv" loader>
            <div id="container">
                <div class='uil-ripple-css'>
                    <div></div>
                    <div></div>
                </div>
            </div>
        </div>
    
        <mobile-view id="badResolutionOverlay" class="mobilePage"></mobile-view>
    
        <script type="text/javascript">
    
            window.isApiSelectorOpened = false;
            function selectTer(selectedTerritory) {
                go.cache.clearConfig();
                var territory = jQuery.grep(go.Territories, function (item) { return item.Name == selectedTerritory; })[0];
                go.storage.saveSelectedApi(selectedTerritory);
                window.location.reload();
            }
    
            if (appConfig.environment === go.enums.Environment.Development) {
                document.addEventListener("keydown", function (event) {
                    if (event.keyCode == 69 && event.ctrlKey && event.altKey && !isApiSelectorOpened) {
                        go.popup.showApiSelector(go.Territories, selectTer);
                    }
                })
            }
    
    
            if (!isMobile()) {
                if (isBrowserNeedsSilverlight()) {
                    var s = document.createElement("script");
                    s.src = "playerscripts/silverlight.js";
                    $("head").append(s);
                } else {
                    var s = document.createElement("script");
                    s.src = "players/cldasheverywhere.min.js";
                    $("head").append(s);
                }
            }
    
            // detect IE
            function detectIE() {
                var ua = window.navigator.userAgent;
    
                var msie = ua.indexOf('MSIE ');
                if (msie > 0) { // IE 10 or older => return version number
                    return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);
                }
                var trident = ua.indexOf('Trident/');
                if (trident > 0) { // IE 11 => return version number
                    var rv = ua.indexOf('rv:');
                    return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);
                }
                var edge = ua.indexOf('Edge/');
                if (edge > 0) { // IE 12 => return version number
                    return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10);
                }
    
                return false; // other browser
            }
    
            var IEversion = detectIE();
    
            //Global device detection
            (function (global) {
    
                if (!isMobile()) {
                    return;
                }
    
                var isBigScrenReg = global.location.href.indexOf("/activate");
                var isAuthentication = global.location.href.indexOf("/authentication");
                var helpPage = global.location.href.indexOf("/help");
    
                var android = /Android/i,
                    ios = /iPhone|iPad|iPod/i,
                    userAg = navigator.userAgent;
    
                global.device = {
                    Android: android.test(userAg),
                    iOS: ios.test(userAg)
                }
    
                if (isBigScrenReg != -1 || isAuthentication != -1) {
                    $('body').addClass('mobView');
                    return;
                }
    
                if (helpPage != -1) {
                    $('.limit-size').removeClass("limit-size");
                    return;
                }
    
                $('.limit-size').addClass('hideMb');
                $('#badResolutionOverlay').addClass('showMb');
    
            })(window);
    
            $(document).on("goready", function () {
    
                if (!isMobile()) {
                    log("twitter initialize");
                    go.twitter.initializeStart();
                    log("facebook initialize");
                    go.facebook.initializeStart();
                }
    
                log("!---==GO READY==---!");
                angular.bootstrap(document, ["hbolaApp"]);
    
                if (isMobile()) return;
    
                go.player.init();
                
                if ($.ua.browser.name == "Chrome") {
                    go.chromeCastSender.applicationID = go.Settings.ChromecastAppId;
                    //go.chromeCastSender.applicationID = "1E4C76D5";
    
                    //TODO: need remove from production
                    // go.chromeCastSender.applicationID = "C2A16346";
    
                    window['__onGCastApiAvailable'] = function (loaded, errorInfo) {
                        console.log('__onGCastApiAvailable');
                        if ((go.Settings && go.Settings.AllowChromecast) && loaded) {
                            go.chromeCastSender.logMessage('Chromecast reciever is avaiable...');
                            setTimeout(go.chromeCastSender.initializeCastApi, 3000);
                        } else {
                            go.chromeCastSender.logMessage(errorInfo);
                            go.player.onChromecastAvaiabilityChange(false);
                        };
                    };
    
                    (function (i, s, o, g, r, a, m) {
                        a = s.createElement(o), m = s.getElementsByTagName(o)[0];
                        a.async = 1;
                        a.src = g;
                        m.parentNode.insertBefore(a, m);
                    })(window, document, 'script', 'https://www.gstatic.com/cv/js/sender/v1/cast_sender.js', '', null, null)
                } else {
                    go.player.onChromecastAvaiabilityChange(false);
                }
    
                if (IEversion !== false) {
                    $('body').on("mousewheel", function () {
                        var currentScrollPosition, wheelDelta;
                        if (event.wheelDelta != undefined) {
                            event.preventDefault();
                            wheelDelta = event.wheelDelta;
                            if ($(".modal-open .modal").length > 0) {
                                if ($('.angdropdown-container.show').length > 0) {
                                    //
                                    if (wheelDelta > 0) {
                                        currentScrollPosition = $('#country-list').scrollTop() + $('#country-list div').outerHeight() * -1;
                                    } else {
                                        currentScrollPosition = $('#country-list').scrollTop() + $('#country-list div').outerHeight();
                                    }
                                    $('#country-list').scrollTop(currentScrollPosition);
                                } else {
                                    currentScrollPosition = $(".modal-open .modal").scrollTop() - wheelDelta;
                                    $(".modal-open .modal").scrollTop(currentScrollPosition);
                                }
                            } else if ($('.search-form-container').length > 0) {
                                currentScrollPosition = $("#list_result").scrollTop() - wheelDelta;
                                $("#list_result").scrollTop(currentScrollPosition);
                            } else {
                                currentScrollPosition = window.pageYOffset - wheelDelta;
                                window.scrollTo(0, currentScrollPosition);
                            }
                        } else {
                            event.preventDefault();
                            wheelDelta = -(event.deltaY ? event.deltaY : event.detail);
                            currentScrollPosition = window.pageYOffset;
                            window.scrollTo(0, currentScrollPosition - wheelDelta);
                        }
                    });
                }
    
                //$('.limit-size').height($('.limit-size').height() - 19 + "px");
            });
    
            $(document).ready(function () {
                go.init();
    
                // hash init start
                $('body').append('<div id="mainswf"></div>');
                var fn = function () {
                    var att = { data: "hash/hash.swf", width: "0", height: "0" };
                    var par = {};
                    var id = "mainswf";
                    var oswf = swfobject.createSWF(att, par, id);
                };
                swfobject.addDomLoadEvent(fn);
                // hash init end
            });
        </script>
        <script type="text/javascript">_satellite.pageBottom();</script>
    </body>
    </html>
    

    Funny, found your post when googling.

    posted in Media read more
  • David Ferraz

    Good morning,

    I tried ever single key and none worked, i did the same on a youtube video and was possible to pause/play using "k" and also the space bar, but in hbogo not a single key worked, does't matter which, i pressed all the keys.

    Those worked on youtube:

    0 - 9 = Move video back and forth to the "n" percent point based on the number you press. Example: Pressing the 2 key will move the video to the 20% point, 5 will move the video to the 50% point, 7 will move the video to the 70% point, and 0 will move the video to the 0% point, ie, back to the beginning of the video.

    F = Toggle to full screen (I haven't found a key to return it back to the smaller screen).

    J = Reverse the video a few seconds.

    K = Toggle the video between Pause and Play.

    L = Advance the video a few seconds.

    M = Toggle Mute on and off.

    Home = Go to the beginning of the video.

    End = Go to the end of the video.

    Up Arrow = Increase volume.

    Down Arrow = Decrease volume.

    Left Arrow = Same as the "J" key.

    Right Arrow = Same as the "L" key.

    Space bar = Same as the "K" key.

    P.S.: Did you make a post on reddit?

    posted in Media read more
  • David Ferraz

    Just like a normal right-click, but it shows "know more about DRM" and takes me: https://support.mozilla.org/pt-BR/kb/habilitar-drm?as=u&utm_source=inproduct . I can "inspect" using firefox and see the html code, i see the words flash, shockwave and "player".

    posted in Media read more
  • David Ferraz

    Thank you, here is the SS. If you need any other ss just ask me plase!

    UR.png

    posted in Media read more
  • David Ferraz

    Thank you! Most commands work with the Google Music remote!! ^^^^

    posted in Media read more
  • David Ferraz

    EPIC IDEA, I hope to see a solution for gpmdp asap. Thank you

    posted in Media read more
  • David Ferraz

    Totally agree. it's already time for HBOGO remote. Thank you.

    posted in Media read more

Internal error.

Oops! Looks like something went wrong!