Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
I just noticed that for Chrome in Windows you can't click a certificate to install it, you need to install it in IE first, which can explain the problem here. See above post for what I plan on doing, till then you can try installing in IE, and see if it fixes Chrome..
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
Nach wrote:
amaurea wrote:
Ok, that fixed it. I don't think many people will be willing to do that, though.
Newer OSs/browsers already have that certificate, so most people hopefully won't have to.
The cert fixed it for me, with windows 7, and firefox 16.
Editor
Joined: 3/10/2010
Posts: 899
Location: Sweden
A little slow loading, but works once manually installing the certificate.
Expert player (2567)
Joined: 12/23/2007
Posts: 831
It seems to me that Baidu is not a good choice for video uploading. Low frame rate, low quality, low downloading speed... And what's more, videos on Baidu has been often "missing", sometimes deleted. Like it has happend 2 months ago, all videos marked with "5.0", "500" has been deleted by Baidu for unknown reasons. One more thing, Baidu does not support videos longer than 10 minutes. I used to upload on Baidu, but now I hardly do that. Instead, what about Tudou.com? Many Chinese TASers uses that, too, way more than Baidu and Sina.
Recent projects: SMB warpless TAS (2018), SMB warpless walkathon (2019), SMB something never done before (2019), Extra Mario Bros. (best ending) (2020).
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
HappyLee wrote:
I used to upload on Baidu, but now I hardly do that. Instead, what about Tudou.com? Many Chinese TASers uses that, too, way more than Baidu and Sina.
PM me links to at least two TASs on Todou, and I'll see what I can do.
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Post subject: Have some free examples!
Noxxa
They/Them
Moderator, Expert player (4125)
Joined: 8/14/2009
Posts: 4090
Location: The Netherlands
http://www.youtube.com/Noxxa <dwangoAC> This is a TAS (...). Not suitable for all audiences. May cause undesirable side-effects. May contain emulator abuse. Emulator may be abusive. This product contains glitches known to the state of California to cause egg defects. <Masterjun> I'm just a guy arranging bits in a sequence which could potentially amuse other people looking at these bits <adelikat> In Oregon Trail, I sacrificed my own family to save time. In Star trek, I killed helpless comrades in escape pods to save time. Here, I kill my allies to save time. I think I need help.
Post subject: Re: Have some free examples!
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Mothrayas wrote:
http://www.tudou.com/programs/view/6XeizYcn-To/ http://www.tudou.com/programs/view/TQeEz2cx4bc/
Their stuff seems really insane. Do they offer any embedding code? I can't seem to make heads or tails out of what this code is really doing:
Language: javascript

var rqtime = +new Date(); document.domain = "tudou.com"; var pageId = 1, defaultTheme = 'normal', iid = 146126147, icode = '6XeizYcn-To', oid = 5475002, onic = "mtvf1", olvl = 7, cid = 10, time = '06:37', pic = 'http://i4.tdimg.com/146/126/147/p.jpg', lpic = "http://i4.tdimg.com/146/126/147/w.jpg", kw = "tas恶魔城晓月圆舞曲尤里乌斯最速通关 作者mtbRc用时04:35.55更新日期2012.07.01", title = kw, desc = "Castlevania - Aria of Sorrow, Julius\nPlayed by mtbRc\nPlaying time: 04:35.55\nRerecord count: 31879\nThis is a tool-assisted recording.", hd = 1, liveplayer = "http://js.tudouui.com/bin/online/MiniLivePlayer_2.swf", ol = 1, olw = 720, olh = 480, olr = 1909426, dl = !0, sha = !0, np = 0, audio = false , nc = '0', DMjsvar = "cid_10_0", comscore_c6 = 0, playerUrl = "http://js.tudouui.com/bin/player_online/TudouVideoPlayer_Homer_NewSkin_10.swf"; function Mash() { var b = 4022871197; var a = function (e) { e = e.toString(); for (var c = 0; c < e.length; c++) { b += e.charCodeAt(c); var d = 0.02519603282416938 * b; b = d >>> 0; d -= b; d *= b; b = d >>> 0; d -= b; b += d * 4294967296 } return (b >>> 0) * 2.3283064365386963e-10 }; a.version = "Mash 0.9"; return a }function MRG32k3a() { return (function (h) { var n = 4294967087; var m = 4294944443; var l = 12345, k = 12345, j = 123, g = 12345, f = 12345, e = 123; if (h.length === 0) { h = [+new Date()] } var a = Mash(); for (var d = 0; d < h.length; d++) { l += a(h[d]) * 4294967296; k += a(h[d]) * 4294967296; j += a(h[d]) * 4294967296; g += a(h[d]) * 4294967296; f += a(h[d]) * 4294967296; e += a(h[d]) * 4294967296 } l %= n; k %= n; j %= n; g %= m; f %= m; e %= m; a = null; var c = function () { var v = 4294967087; var u = 4294944443; var s = 1403580; var q = 810728; var p = 527612; var i = 1370589; var o, t, r; t = s * k - q * l; o = t / v | 0; t -= o * v; if (t < 0) { t += v } l = k; k = j; j = t; r = p * e - i * g; o = r / u | 0; r -= o * u; if (r < 0) { r += u } g = f; f = e; e = r; if (t <= r) { return t - r + v } else { return t - r } }; var b = function () { return c() * 2.3283064365386963e-10 }; b.uint32 = c; b.fract53 = function () { return b() + (c() & 2097151) * 1.1102230246251565e-16 }; b.version = "MRG32k3a 0.9"; b.args = h; return b }(Array.prototype.slice.call(arguments))) } var TUI = { browser: (function () { var a = navigator.userAgent.toLowerCase(); return { webkit: /webkit/.test(a) ? (a.match(/webkit\/(\d+)/) || [])[1] : 0, ie: !+"\v1", iOS: (a.match(/(ipad|iphone|ipod)/) || [])[0], iOSVersion: (a.match(/os\s+([\d_]+)\s+like\s+mac\s+os/) || [0, "0_0_0"])[1].split("_"), wphone: parseFloat((a.match(/windows\sphone\sos\s([\d.]+)/) || ["", "0"])[1]), android: parseFloat((a.match(/android\s([\d.]+)/) || ["", "0"])[1]) } })(), renderTpl: function (a, b) { return a.replace(/<%\=(\w+)%>/g, function (d, c) { return b[c] != null ? b[c] : "" }) }, cookie: function (g, c, h, f) { if (typeof g == "string") { f = h; h = c; c = g; g = window } if (h !== undefined) { f = f || {}; var d, b = ""; if (f.expires) { if (f.expires.constructor == Date) { d = f.expires } else { d = new Date(); d.setTime(d.getTime() + (f.expires * 24 * 60 * 60 * 1000)) } b = "; expires=" + d.toGMTString() } var i = f.path ? "; path=" + f.path : ""; var e = f.domain ? "; domain=" + f.domain : ""; var a = f.secure ? "; secure" : ""; g.document.cookie = [c, "=", encodeURIComponent(h), b, i, e, a].join("") } else { h = g.document.cookie.match(new RegExp("(?:\\s|^)" + c + "\\=([^;]*)")); return h ? decodeURIComponent(h[1]) : null } }, getRequest: function (b, e) { var a = new Image(), d = []; a.onload = function () {}; if (e) { for (var c in e) { d.push(c + "=" + e[c]) } d = d.join("&") } a.src = !d.length ? b : [b, b.match(/\?/) ? "&" : "?", d].join("") }, juid: function () { return (+new Date * 10000 + Math.random(1) * 10000).toString(32) }, getFlashMC: function (a) { return TUI.browser.ie ? window[a] : document[a] } }; var $ = jQuery = { extend: function (b, a) { var d; for (var c in a) { d = a[c]; if (d !== undefined) { b[c] = d } } return b }, cookie: TUI.cookie }; var AopStat = (function () { var c = TUI.browser, d = c.iOS, f = c.wphone, a = c.android, e = d && c.iOSVersion.join(".") || a || f || 0, g = d || (a && "android") || (f && "wphone") || "desktop", b = ( { "1": 96001, "2": 96002, "3": 96003, "4": 96003, "5": 96003, "6": 96004 })[pageId], h = ( { "1": 11000, "2": 10000, "3": 10200, "4": 10200, "5": 10200, "6": 10300 })[pageId]; function i(l, m, k) { var j = window.isMobilePlayer || false; TUI.getRequest("http://stat.tudou.com/aopstat/aop3", { pvid: window.pvid, ocvid: "", cvid: window.cvid || 0, ppid: window.ppid || "", juid: juidStr, iid: iid, srcid: j ? b : h, log: l + "|" + (m ? (m + "|") : "") + (j ? (window.AOP + "|") : "") + (k || +new Date), fast: "", pcnt: 0, pscnt: 0, adcnt: 0, prcnt: 0, player: j ? (g + "|" + e) : (playerUrl ? playerUrl.split("/")[5] : ""), url: encodeURIComponent(location.href), referUrl: encodeURIComponent(document.referrer) }) } return { send: i, srcid: window.isMobilePlayer ? b : h } })(); var isPlayPage = true; var pvid = TUI.juid(); var pageParams = (function () { var c = { a: "aid", l: "lid", i: "iid" }, j = {}, a = location.href, h = a.match(/[^\s&\?#=\/]+=[^\s&\?#=]+/g), f = a.match(/playlist\/p\/(\w+)\.html/); if (h) { for (var e = 0, d = h.length; e < d; e++) { var b = h[e].split("="); j[b[0]] = decodeURIComponent(b[1]) } } if (f) { f = f[1].match(/([a-z]+|\d+)/g); for (var e = 0, d = f.length; e < d; e += 2) { var g = f[e]; if (c[g]) { g = c[g] } j[g] = f[e + 1] } } return j })(); var isMobilePlayer = !! TUI.browser.iOS; var AOP = (isMobilePlayer || (Math.random() < 0.001 || pageParams.aop)) ? 1 : 0; aopStats(5000, rqtime); var TIMESTAT = (Math.random() < 0.01 || pageParams.timestat) ? 1 : 0; timeStats(1); var PRNGran, juidStr, uid, _usr, _nic; setUserInfo(); PRNGran = new MRG32k3a(uid, location.href, rqtime); juidStr = TUI.cookie("juid"); if (!juidStr) { juidStr = juid(); TUI.cookie("juid", juidStr, { expires: 365 * 100, domain: "tudou.com", path: "/" }); juidStr = TUI.cookie("juid") || 1 } seid = TUI.cookie("seid"); if (!seid || +new Date() > (parseInt(TUI.cookie("seidtimeout")) || 0)) { seid = juid(); TUI.cookie("seid", seid, { domain: "tudou.com", path: "/" }); seid = TUI.cookie("seid") || 1 } TUI.cookie("seidtimeout", + new Date() + 30 * 60000, { domain: "tudou.com", path: "/" }); function juid() { return "0" + (+new Date()).toString(32) + (parseInt(PRNGran() * 100000)).toString(32) }function isLogined() { return (($.cookie("u_passport_info") || $.cookie("u_login")) && $.cookie("u_user") && $.cookie("u_id")) }function setUserInfo() { uid = isLogined() ? ($.cookie("u_id") || 0) : 0; _usr = $.cookie("u_user"); _nic = $.cookie("u_nick") || window._usr }function aopStats(b, a) { if (!AOP) { return } AopStat.send(b, "", a) }function timeStats(c) { var g = []; if (c == 1) { var b, e; if (/^https?:\/\/\w+\.tudou\.com/i.test(document.referrer)) { var d = TUI.cookie("timestatdata"); if (!d) { return } TIMESTAT = 1; var a = d.split("|"); b = a[0]; e = a[1] } else { if (!TIMESTAT) { return } b = ""; e = 0 } g = [b, window.pvid, "P2", window.rqtime]; if (e > 0) { g.push(window.rqtime - e) } } else { if (c == 2) { if (!TIMESTAT) { return } var f = new Date().getTime(); g = ["", window.pvid, "P3", f, f - window.rqtime] } } TUI.getRequest("http://pl.pb.ops.tudou.com:88/pageloadstat/a.html?v=0&s=" + g.join("|")) }function parseTime(d) { var c = 0; d = d.split(":"); for (var b = 0, a = d.length; b < a; b++) { c += d[b] * Math.pow(60, a - b - 1) } return c }function loadPlayer(a) { try { var f = this, b = window, v = !(navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length), z = "playerObject", y = '<object id="' + z + '" name="' + z + '" width="100%" height="100%" <%=data%> <%=mimetype%> <%=classid%> >', t = [], g = []; var q = b.playerEx = { objectId: z, notifyCache: [], notify: function () { this.notifyCache.push([arguments[0], Array.prototype.slice.call(arguments, 1)]); return true }, loaded: false, notifyPlayer: function () { var e = TUI.getFlashMC(z); if (!e || !e.notify) { return } return e.notify.apply(e, arguments) } }; var m = b.pageParams || {}; var l = { listType: [0, 0, 1, 3, 2, 4, 6][b.pageId || 0] || 0, iid: a.iid, lid: a.lid || 0, aid: b.aid || 0, uid: uid || 0, channel: b.cid || 0, default_skin: a.skin || 0, tudouMini: a.mini || 0, hd: b.hd || 0, ol: b.ol, olw: b.olw, olh: b.olh, olr: b.olr, ban: 0, referrer: encodeURIComponent(document.referrer), href: encodeURIComponent(location.href), USER_AGENT: navigator.userAgent, title: encodeURIComponent(document.title.split("_")[0]), frame1: b.lpic || 0, ports: "100:0", statratio: "1000", safekey: "IAlsoNeverKnow", cs: "350", ct: "180", ca: "0", cb: "0.1", ctime: "5000", cp: "20", nc: b.nc || 0, juid: b.juidStr, seid: b.seid, aop: b.AOP, np: b.np, nm: b.nm || 0, sh: b.sh || 0, st: b.st || 0, csc6: b.comscore_c6 || 0, nls: encodeURIComponent(b.nielsenStat || 0), actionID: m.tid || ($.cookie("needquiet") && -1) || 0, ID: m.aid || 0, adOwnerId: m.oid || 0, adPositionId: m.pid || 0, isNielson: m.isNielson || 0, isRenhe: m.isRenhe || 0, vurl: m.vurl || "", phd: m.phd || -1, rurlstr: m.refid || "", resourceId: m.resourceId || "", rinfo: m.rinfo || "", tpa: m.tpa || "", aoptest: b.AOP ? "aoptest1" : "aoptest2" }; if (b.youkuId) { l.youkuId = b.youkuId } var d = ($.cookie("view_items_time") || "").split(",") || [], c; for (var s = 0, r = d.length; s < r; s++) { var w = d[s].split("|"); if (w[0] == iid) { c = w[1]; break } } l.wtime = c || m.lvt || 0; l.scale = q.scale = (function (i) { var e = (TUI.cookie("scales") || "").match(new RegExp(i + "(\\d)")), h = window.scale || 0; if (e) { h = parseInt(e[1]) } if (h === 1) { document.body.className = document.body.className.replace(b.defaultTheme, "widescreen") } return h })(b.pageId > 1 ? lid + "l" : iid + "i"); if (b.time) { $.extend(l, { time: parseTime(b.time) }) } $.extend(l, b.tvars || {}); var x = { allowfullscreen: "true", allowscriptaccess: "always", quality: "high" }; if (v) { x.movie = a.player } t.push(TUI.renderTpl(y, v ? { classid: 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' } : { data: 'data="' + a.player + '"', mimetype: 'type="application/x-shockwave-flash"' })); for (var p in x) { t.push('<param name="', p, '" value="', x[p], '" />') } for (var o in l) { g.push(o + "=" + l[o]) } if (g.length) { t.push('<param name="flashvars" value="', g.join("&"), '" />') } t.push("</object>"); if (window.isMobilePlayer) { return } document.write(t.join("")); aopStats(5001) } catch (u) { error(u.message) } }function error(a) { TUI.getRequest("http://erreport.tudou.com/errorlog/error.php?" + ["category=1807", "type=" + a === "playerNoLive" && 2 || 1, "object_id=" + iid, "message=" + a + "||" + navigator.userAgent, "rnd=" + rqtime].join("&")) } window._originTitle = document.title; loadPlayer( { iid: iid, lid: 0, player: playerUrl });
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
They seem to be generating this:
Language: html

<object id="playerObject" name="playerObject" width="100%" height="100%" data="http://js.tudouui.com/bin/player_online/TudouVideoPlayer_Homer_NewSkin_10.swf" type="application/x-shockwave-flash"> <param name="allowfullscreen" value="true"> <param name="allowscriptaccess" value="always"> <param name="quality" value="high"> <param name="flashvars" value="listType=0&amp;iid=146126147&amp;lid=0&amp;aid=0&amp;uid=0&amp;channel=10&amp;default_skin=0&amp;tudouMini=0&amp;hd=1&amp;ol=1&amp;olw=720&amp;olh=480&amp;olr=1909426&amp;ban=0&amp;referrer=&amp;href=http%3A%2F%2Fwww.tudou.com%2Fprograms%2Fview%2F6XeizYcn-To%2F&amp;USER_AGENT=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.15 Safari/537.1&amp;title=tas%E6%81%B6%E9%AD%94%E5%9F%8E%E6%99%93%E6%9C%88%E5%9C%86%E8%88%9E%E6%9B%B2%E5%B0%A4%E9%87%8C%E4%B9%8C%E6%96%AF%E6%9C%80%E9%80%9F%E9%80%9A%E5%85%B3%20%E4%BD%9C%E8%80%85mtbRc%E7%94%A8%E6%97%B604%3A35.55%E6%9B%B4%E6%96%B0%E6%97%A5%E6%9C%9F2012.07.01&amp;frame1=http://i4.tdimg.com/146/126/147/w.jpg&amp;ports=100:0&amp;statratio=1000&amp;safekey=IAlsoNeverKnow&amp;cs=350&amp;ct=180&amp;ca=0&amp;cb=0.1&amp;ctime=5000&amp;cp=20&amp;nc=0&amp;juid=016lfv6tk61s20&amp;seid=0171kebjct1vdv&amp;aop=0&amp;np=0&amp;nm=0&amp;sh=0&amp;st=0&amp;csc6=0&amp;nls=0&amp;actionID=0&amp;ID=0&amp;adOwnerId=0&amp;adPositionId=0&amp;isNielson=0&amp;isRenhe=0&amp;vurl=&amp;phd=-1&amp;rurlstr=&amp;resourceId=&amp;rinfo=&amp;tpa=&amp;aoptest=aoptest2&amp;wtime=0&amp;scale=0&amp;time=397"> </object>
The question is what is important here?
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
This code will load the video and ad free.
Language: html

<object id="playerObject" name="playerObject" width="100%" height="100%" data="http://js.tudouui.com/bin/player_online/TudouVideoPlayer_Homer_NewSkin_10.swf" type="application/x-shockwave-flash"> <param name="allowfullscreen" value="true"> <param name="allowscriptaccess" value="always"> <param name="quality" value="high"> <param name="flashvars" value="iid=146126147"> </object>
Question is, how the heck is that ID generated from the URL?
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
HappyLee wrote:
I used to upload on Baidu, but now I hardly do that. Instead, what about Tudou.com? Many Chinese TASers uses that, too, way more than Baidu and Sina.
Deciphering Tudou was quite grueling, but it's done. Enjoy!
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
Post subject: Dropping baidu support
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Posting here to say that I have removed baidu support from the video tag since: 1) It was not actually in used 2) It does not work in any modern browser that I tested (I even tried IE, eww) 3) baidu has been on the decline anyway One less moving piece to worry about on the server.
It's hard to look this good. My TAS projects