2015-07-02 128 views
0

我使用錄像機「PotPlayer」。玩家可以從YouTube上播放視頻。 例如如果您運行Player播放器可以開始播放YouTube視頻爲:從瀏覽器打開外部錄像機中的YouTube鏈接

"C:\PotPlayer\PotPlayer.exe https://www.youtube.com/watch?v=*******" 

我添加URI方案名稱爲「potplayer」註冊表:

Windows Registry Editor Version 5.00 

[HKEY_CLASSES_ROOT\potplayer] 
@="\"URL:potplayer protocol\"" 
"URL Protocol"="" 

[HKEY_CLASSES_ROOT\potplayer\shell] 

[HKEY_CLASSES_ROOT\potplayer\shell\open] 

[HKEY_CLASSES_ROOT\potplayer\shell\open\command] 
@="c:\\potplayer\\potplayer.exe" 

我嘗試在PotPlayer開放YouTube視頻從網絡瀏覽器使用下一個環節:

potplayer://https://www.youtube.com/watch?v=******* 

,但它只是纔開始播放,而不傳遞鏈接播放器( 「.../PotPlayer.exe https://www.youtube.com/watch?v= *******」)。

如何使用URI Scheme將鏈接轉移到PotPlayer?我需要在註冊表代碼中進行更改?

回答

相關問題