denivip / ios-vast-player

IAB VAST ads playback in iOS AVPlayer
http://blog.denivip.ru/index.php/2012/08/ios-player-with-vast-video-ad-support/?lang=en
MIT License
82 stars 34 forks source link

Wrapper Ads Support, HTTP Headers, allowing only 1 Ad, Fallback support. #4

Closed stuffmc closed 11 years ago

stuffmc commented 11 years ago

Also fixed a few hickups like breaking the demo because I didn't parse the x-mp4 anymore ;-) Please check the Wrapper Ads part and let me know.

stuffmc commented 11 years ago

Added partial support for Wrapper Ads. Have a look and let me know. FYI: I personally only need "pre-roll" in my project.

stuffmc commented 11 years ago

Hey will you merge the other changes in Master? I'd rather use master in my current project instead of my own fork.

kolyuchiy commented 11 years ago

Hi! Sorry for taking so long to check your work. Sadly I don't have enough time and interest to maintain this project properly.

stuffmc commented 11 years ago

Awesome! Thanks. I'll need to merge your changes back since I'll have to work on the "Wrapper" part again probably today or tomorrow.

stuffmc commented 11 years ago

You might wanna look at my very last commit (not yet merged). Turns out your code for parsing <InLine> with "first element" will fail if the first element is, say, a comment ;-) I think using XPath is a better plan.

kolyuchiy commented 11 years ago

Yes, sure, better syntax checks are needed. Although XPath would be an overkill here. Simple if checks are enough IMO. But if you do XPath I won't mind.