video operations with youtube api and some player plugin