ZionDevelopers / playx

In-game Internet (YouTube, Twitch, SoundCloud, mp4 and etc.) media player for Garry's Mod
http://steamcommunity.com/sharedfiles/filedetails/?id=106516163
Other
18 stars 14 forks source link

Cannot play videos #61

Closed LethalAnt closed 10 years ago

LethalAnt commented 10 years ago

i get an issue whenever I select a video. here is the console log.

PlayXBrowser: Requested to open <> / http://www.youtube.com/watch?v=oyZHajCu8GU PlayX: Beginning media oyZHajCu8GU with handler JWYoutube, start at 0s TEST [lua/playx/playx.lua][lua/playx/playx.lua] FOUND IN ADDON [106516163] TEST [lua/playx/playx.lua][lua/playx/playx.lua] FOUND IN ADDON [106516163] TEST [lua/playx/playx.lua][lua/playx/playx.lua] FOUND IN ADDON [106516163] TEST [lua/includes/modules/ai_vj_schedule.lua][lua/includes/modules/concommand.lua] TEST [lua/includes/modules/ai_vj_task.lua][lua/includes/modules/concommand.lua] TEST [lua/includes/modules/json.lua][lua/includes/modules/concommand.lua] TEST [lua/includes/modules/psf_schedule.lua][lua/includes/modules/concommand.lua] TEST [lua/includes/modules/psf_task.lua][lua/includes/modules/concommand.lua]

[PlayX] lua/playx/playx.lua:440: attempt to call field 'SetCurrentMediaLength' (a nil value)

  1. BeginMedia - lua/playx/playx.lua:440
    1. OpenMedia - lua/playx/playx.lua:305
    2. unknown - lua/playx/playx.lua:587
      1. unknown - lua/includes/modules/concommand.lua:69

[HTML] Unsafe JavaScript attempt to access frame with URL http://www.youtube.com/ from frame with URL http://ad.doubleclick.net/N4061/adi/com.ythome/_default;sz=970x250;tile=1;dc_yt=1;kbsg=HPUS140611;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_1;ytexp=937428,902404;ord=1669940934516489?. Domains, protocols and ports must match.

[HTML] Unsafe JavaScript attempt to access frame with URL http://ad.doubleclick.net/N4061/adi/com.ythome/_default;sz=970x250;tile=1;dc_yt=1;kbsg=HPUS140611;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_1;ytexp=937428,902404;ord=1669940934516489? from frame with URL http://www.youtube.com/doubleclick/DARTIframe.html?gtVersion=200_40&mediaserver=http%3A%2F%2Fs0.2mdn.net%2F879366&xpc=%7B%22cn%22%3A%22peerIframe58373142%22%2C%22tp%22%3Anull%2C%22osh%22%3Anull%2C%22pru%22%3A%22http%3A%2F%2Fwww.youtube.com%2Fdoubleclick%2FDARTIframe.html%3FgtVersion%3Drelay_200_40%26mediaserver%3Dhttp%3A%2F%2Fs0.2mdn.net%2F879366%22%2C%22ppu%22%3A%22http%3A%2F%2Fad.doubleclick.net%2Frobots.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Fwww.youtube.com%2Frobots.txt%22%7D. Domains, protocols and ports must match.

nexbr commented 10 years ago

That means that your Garry's Mod are corrupted or you have another PlayX installed.

Backup the folders addons / data / maps delete the Whole SteamApps/common/Garry's Mod folder and reinstall, then restore the backuped folders back.