play youtube video in node-webkit

5 views
Skip to first unread message

Keying Xu

unread,
Feb 5, 2014, 11:23:04 AM2/5/14
to node-...@googlegroups.com
Hi, 

I have desk app which has a youtube video to show some instructions.My code is only simply html link to jump youtube page.

<a href='youtube url ' target='_blank'>Please click here to view the tutorial</a>

When  click this link, node-webkit open an new window which shows youtube page, that is correct.But in the video area,youtube said "this video is currently unavailable" while the video is good in browser.

Please help me to resolve this problem,thanks !

Keying Xu 

20140205111800.jpg

Marc Torruella

unread,
Feb 5, 2014, 11:27:08 AM2/5/14
to node-...@googlegroups.com
what happens when using the embed code? does it play?


--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Keying Xu

unread,
Feb 5, 2014, 11:29:45 AM2/5/14
to node-...@googlegroups.com
Not play,just like the attached pic....

VoidVolker

unread,
Feb 6, 2014, 3:34:42 AM2/6/14
to node-...@googlegroups.com
Turn on plugins:
package.json:
{
  "webkit": {
    "plugin": true
  }
}

Keying Xu

unread,
Feb 7, 2014, 3:56:08 PM2/7/14
to node-...@googlegroups.com
Thanks,It works.....sometimes....really wired....

when the page loaded first time,the problem is still here .... the video can't be show....

but when I play any other video on the related list,the video is showing and put the back button to the first page,the video can be play....
Reply all
Reply to author
Forward
0 new messages