def register_plugin(manager):
manager.register_blueprint(player)<EOL>manager.register_mimetype_function(detect_playable_mimetype)<EOL>style = manager.style_class(<EOL>'<STR_LIT>',<EOL>filename='<STR_LIT>'<EOL>)<EOL>manager.register_widget(style)<EOL>button_widget = manager.button_class(css='<STR_LIT>')<EOL>link_widget = manager.link_class()<EOL>for widget in (link_widget, button_widget):<EOL><INDENT>manager.register_action(<EOL>'<STR_LIT>',<EOL>widget,<EOL>mimetypes=(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>))<EOL><DEDENT>
Register blueprints and actions using given plugin manager.

:param manager: plugin manager
:type manager: browsepy.manager.PluginManager