Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: Badweather on May 17th, 2012  |  syntax: Java  |  size: 0.30 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. videoUrl = event.getVideoLink();
  2. imageUrl = event.getImageLink();
  3.        
  4.         if (imageUrl == "" || imageUrl == null) {
  5.                 if (videoUrl != "" && videoUrl != null) {
  6.                         imageUrl = FestivalAppUtil
  7.                                         .getYoutubeImageUrl(FestivalAppUtil
  8.                                                         .getYoutubeVideoId(videoUrl));
  9.                 } else {
  10.                         imageUrl = "";
  11.                 }
  12.         }