mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
22 lines
446 B
JavaScript
22 lines
446 B
JavaScript
(function () {
|
|
|
|
function showMenu(options, successCallback, cancelCallback) {
|
|
|
|
var shareInfo = options.share;
|
|
|
|
window.plugins.socialsharing.share(shareInfo.Overview, shareInfo.Name, shareInfo.ImageUrl, shareInfo.Url, function () {
|
|
|
|
successCallback(options);
|
|
|
|
}, function () {
|
|
|
|
cancelCallback(options);
|
|
});
|
|
}
|
|
|
|
window.SharingWidget = {
|
|
showMenu: showMenu
|
|
};
|
|
|
|
|
|
})(); |