He just concatenated a couple of strings
You can also use rtmpdump to get the code...
Code:
rtmpdump -r "rtmp://cp156323.edgefcs.net:1935/ondemand" -a "ondemand?videoId=3530417353001&lineUpId=&pubId=1290862567001&playerId=1364138050001&affiliateId=" -f "WIN 11,9,900,117" -W "http://admin.brightcove.com/viewer/us20140416.1645/federatedVideoUI/BrightcovePlayer.swf" -p "http://www.tg4.ie/en/player/tg4-player.html" -y "mp4:videos/1290862567001/201405/3028/1290862567001_3530473347001_WCL031481.mp4?videoId=3530417353001&lineUpId=&pubId=1290862567001&playerId=1364138050001&affiliateId=" -o "output.flv"
Cheers!