Aralekk / simple360player_iOS

Simple 360 Video player for iOS using SceneKit
161 stars 22 forks source link

Simulator support #5

Closed tksohishi closed 8 years ago

tksohishi commented 8 years ago

It doesn't look like working on Simulator. Do you think it's possible to support this on Simulators?

Aralekk commented 8 years ago

It actually kind of "work" on the simulator if you do not display a video. The issue comes from the SKVideoNode texture. If you just change this :

videoNode.geometry?.firstMaterial?.diffuse.contents = spriteKitScene

into

videoNode.geometry?.firstMaterial?.diffuse.contents = UIColor.blueColor()

you'll this that it displays. But the simulator doesn't support playing a video on a texture it seems