For anyone that’s been monitoring Yahoo’s High Definition Trailers Page, you’ve probably noticed they’ve really been slacking off, only updating once or twice a week, while new HD trailers come out everyday.
I’ve decided to go a different route and monitor their recently added trailers page instead and this should provide quicker updates to new trailer releases.
Another good thing that came out of this is now the main catalog will also include HD clips from Yahoo!, something I had been planning to do for some time.
It looks like Yahoo! HD Trailers Page had a slight format change and therefore broke my parser. However, the parser has now been fixed. If you see anything weird, please notify us.
I’ve also made another fix where sometimes multiple Yahoo! trailers would point to the same url. That was due to the caching logic we had. I’ve went ahead and fixed the logic and now urls should always be up-to-date.
I also wrote an array recursive comparison function. There’s probably a bunch in the wild, but I couldn’t find one on php.net:
/// Does a recursive array comparison
/// <param name=”array1″>1st array</param>
/// <param name=”array2″>2nd array</param>
/// <returns>if the 2 arrays match</returns>
function array_equals_recursive( $array1, $array2 )
if( count( array_diff_assoc( $array1, $array2 )) != 0 ||
count( array_diff_assoc( $array2, $array1 ) ) != 0 )
foreach( array_keys( $array1 ) as $key )
if( is_array( $array1[ $key ] ) ||
is_array( $array2[ $key ] ) )
if( !is_array( $array1[ $key ] ) ||
!is_array( $array2[ $key ] ) ||
$array1[ $key ],
$array2[ $key ] ) )
I noticed lately when I play Yahoo! HD movie trailers in my browser, there’s been no sound and it always turns out to be that the volume is set to the lowest. I thought I might’ve accidentally lowered the volume, but if I increase the volume and reload that trailer, the volume goes all the way back down again. I then went ahead and tried an Apple HD movie trailer and they don’t have this problem. If you’re downloading the trailer, it doesn’t have this problem as your application most likely retains its settings, but for some reason if you use the Quicktime player in your browser, their trailer is able to control your volume setting.
I’ve verified this is the case on Firefox and when I tried it on IE7, the same thing occurred. So if you’re trying to watch a Yahoo! HD movie trailer in you browser and you get no sound, just go check the volume control as that’s very likely to have been lowered to no sound.