Guest User

Untitled

a guest
Apr 11th, 2013
178
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jwplayer('flvplayer').setup({
  2. image: 'http://edge3.vidto.me/i/01/00020/1y7okrqkv4ji.jpg',
  3. previw: {
  4. file: 'OK',
  5. deleted: '<p><u><font size="20" color="#FF0000">File deleted.</font></u><br/><u><font size="18" color="#FFFFFF">Not availabe any more.</font></u></p>',
  6. nofile: '<p><u><font size="20" color="#FF0000">No such file.</font></u><br/><u><font size="18" color="#FFFFFF">Your link is broken.</font></u></p>',
  7. },
  8. ratio: 'original',
  9. hd: [{
  10. label: "360p",
  11. file: "http://edge3.vidto.me/3bjhohfxpiqwws4phvqtsnolxocychumk274dsnkba36sfgq6uzwvun2oidq/video.mp4"
  12. }, {
  13. label: "240p",
  14. file: "http://edge3.vidto.me/3bjhohfxpiqwws4phvqtsnolxocychumk274dsnkblz6sfgq6uzqxuh7gxia/video.mp4"
  15. },
  16. ],
  17. hd_default: "360p",
  18. modes: [{
  19. type: 'flash',
  20. src: 'http://static.vidto.me/test-player/player.swf'
  21. }, {
  22. type: 'html5'
  23. }
  24. ],
  25. plugins: {
  26. 'timeslidertooltipplugin-3': {
  27. 'preview': {
  28. 'enabled': true,
  29. 'path': 'http://edge3.vidto.me/i/01/00020/',
  30. 'prefix': '1y7okrqkv4ji',
  31. 'frequency': '213'
  32. }
  33. }
  34. },
  35. skin: 'http://static.vidto.me/test-player/skin/stormtrooper.zip',
  36. stretching: "uniform",
  37. duration: "5110",
  38. controlbar: 'over',
  39. width: "650",
  40. height: "391",
  41. provider: 'http',
  42. dock: 'false',
  43. });
  44. var vvplay;
  45. var tt102895 = 0;
  46. var p0102895 = 0;
  47. jwplayer().onTime(function (x) {
  48. if (p0102895 > 0) tt102895 += x.position - p0102895;
  49. p0102895 = x.position;
  50. if (21600 != 0 && tt102895 >= 21600) {
  51. p0102895 = -1;
  52. jwplayer().stop();
  53. jwplayer().setFullscreen(false);
  54. $('#play_limit_box').show();
  55. $('div.video_ad').show()
  56. }
  57. });
  58. jwplayer().onSeek(function (x) {
  59. p0102895 = -1
  60. });
  61. jwplayer().onPlay(function (x) {
  62. doPlay(x)
  63. });
  64. jwplayer().onComplete(function () {
  65. $('div.video_ad').show()
  66. });
  67.  
  68. function doPlay(x) {
  69. $('div.video_ad').hide();
  70. if (vvplay) return;
  71. vvplay = 1;
  72. }
RAW Paste Data