Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1016046 // YouTube Chrome Window [dev.]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (6005L/42K).

!7

p {
  int port = serveHttp();
  startChromeApp("http://localhost:" + port);
}

html {
  ret hhtml(hhead(htitle("YouTube!"))
    + hbody(
    hjavascript([[
     window.resizeTo(400, 300);
    ]]) + embedYoutube_autoplay("8CwZen9b5mU", 390),
    style := "margin: 0");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1016046
Snippet name: YouTube Chrome Window [dev.]
Eternal ID of this version: #1016046/6
Text MD5: 5c460a4271ac993c197481c8a97442c0
Transpilation MD5: 42269207509dd713b59bc8e8b51563c1
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-03 15:19:34
Source code size: 287 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 379 / 908
Version history: 5 change(s)
Referenced in: