You are here

function video_update_10 in Video 5

Update vidfile for google videos -- they play, but they are not editable in the current form because validation fails upon submit

File

./video.install, line 274

Code

function video_update_10() {
  $res[] = update_sql("UPDATE {video} SET vidfile=CONCAT('http://video.google.com/videoplay?docid=',SUBSTR(vidfile,8)) WHERE vtype='google' AND vidfile LIKE 'google:%'");
  return $res;
}