pseudo-streaming problem

maziar nginx-forum at forum.nginx.org
Sat Feb 13 07:20:49 UTC 2016


i have compile nginx like this :
nginx version: nginx/1.8.1
built by gcc 4.9.2 (Debian 4.9.2-10) 
built with OpenSSL 1.0.1k 8 Jan 2015
TLS SNI support enabled
configure arguments: --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi
--http-log-path=/var/log/nginx/access.log
--http-proxy-temp-path=/var/lib/nginx/proxy
--http-scgi-temp-path=/var/lib/nginx/scgi
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock
--pid-path=/var/run/nginx.pid --with-http_dav_module --with-http_flv_module
--with-cc-opt='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
--with-http_geoip_module --with-http_gzip_static_module
--with-http_image_filter_module --with-http_realip_module
--with-http_stub_status_module --with-http_ssl_module --with-http_mp4_module
--with-http_sub_module --with-http_xslt_module --with-ipv6
--with-sha1=/usr/include/openssl --user=www-data --group=www-data
--without-mail_pop3_module --without-mail_imap_module
--without-mail_smtp_module --with-http_stub_status_module
--with-http_spdy_module --with-md5=/usr/include/openssl --with-mail
--with-mail_ssl_module --with-http_secure_link_module
--add-module=naxsi-master/naxsi_src/ --with-http_gunzip_module
--with-file-aio --with-http_addition_module --with-http_random_index_module
--add-module=ngx_cache_purge-2.3/ --with-http_degradation_module
--with-http_auth_request_module --with-pcre --with-google_perftools_module
--with-debug --http-client-body-temp-path=/var/lib/nginx/client
--add-module=nginx-rtmp-module-master/
--add-module=headers-more-nginx-module-master
--add-module=nginx-vod-module-master/



and this is my html page source and i buy jwplayer, but i can not do this :

http://example.com/elephants_dream.mp4?start=238.88


please help me , what should i do ?



<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>JWplayer HLS test</title>
    <script src="jwplayer724/jwplayer.js"></script>
    <script>
        jwplayer.key = "Key";
    </script>
    <script
src="http://content.jwplatform.com/libraries/MObLKHqE.js"></script>
    <style>
        #video {
            max-width: 800px;
            margin: 50px auto;
        }

        .jw-text {
            font-family: Tahoma, sans-serif !important;
        }

        .jw-controlbar .jw-option {
            font-size: 0.7em !important;
        }

        .jw-skin-seven .jw-progress {
            background: #fff !important;
        }

        .jw-skin-seven .jw-icon-tooltip .jw-active-option {
            background: #00accd !important;
            color: #fff !important;
        }

        .jw-display-icon-container .jw-icon-display {
            font-size: 1.4em !important;
        }

        .jw-skin-seven .jw-display-icon-container {
            border: none !important;
            border-radius: 0 !important;
        }

        .jw-skin-seven .jw-slider-horizontal .jw-rail, .jw-skin-seven
.jw-slider-horizontal .jw-buffer, .jw-skin-seven .jw-slider-horizontal
.jw-progress {
            height: 0.1em !important;
        }

        .jw-skin-seven .jw-knob {
            height: 0.4em !important;
            width: 0.4em !important;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
        }
        
        .jw-rightclick {
            display: none !important;
        }
    </style>
</head>

<body>
    <div id="video"></div>
    <script>
        var playerInstance = jwplayer("video");
        playerInstance.setup({
            playlist: [{
                sources: [{
                    file: "video/1080.mp4"
                    }]
                }],
               primary: "flash"
        });
    </script>
</body>

</html>

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264516,264516#msg-264516



More information about the nginx mailing list