Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[12:12:38 CDT(-0500)] <anastasiac> thanks for the link to the enactor tests. I'm not sure that's enough for what I'm doing. In IE8, we don't support captions and we don't want the video player to add the captions settings panel. When the test file runs in non-IE8, the test needs to verify that the panel is there, but when it runs in IE8, the test needs to verify the opposite. I know I can use if/else, but I'm wondering if there's something cleaner

[12:18:46 CDT(-0500)] <cindyli1> anastasiac: i wonder if you can use demands block to register different test function based on the video support, such as https://github.com/fluid-project/videoPlayer/blob/master/js/VideoPlayer.js#L303

[12:19:17 CDT(-0500)] <anastasiac> cindyli, I tried that, it didn't seem to work for test functions. the functions were not resolved based on the blocks