diff --git a/peertube-plugin-hello-world/client/search-client-plugin.js b/peertube-plugin-hello-world/client/search-client-plugin.js index 6fe6833..f53e176 100644 --- a/peertube-plugin-hello-world/client/search-client-plugin.js +++ b/peertube-plugin-hello-world/client/search-client-plugin.js @@ -51,23 +51,3 @@ function register ({ registerHook, peertubeHelpers }) { export { register } - -function onApplicationInit (peertubeHelpers) { - console.log('Hello application world') - - const baseStaticUrl = peertubeHelpers.getBaseStaticRoute() - const imageUrl = baseStaticUrl + '/images/chocobo.png' - - const topLeftBlock = document.querySelector('.top-left-block') - - topLeftBlock.style.backgroundImage = 'url(' + imageUrl + ')' -} - -function addSymbolToVideoNameResult (result, symbol) { - result.data.forEach(v => v.name += ' ' + symbol) - - return { - data: result.data, - total: result.total - } -} diff --git a/peertube-plugin-transcoding-profile-debug/main.js b/peertube-plugin-transcoding-profile-debug/main.js index ed28707..6c37c05 100644 --- a/peertube-plugin-transcoding-profile-debug/main.js +++ b/peertube-plugin-transcoding-profile-debug/main.js @@ -64,7 +64,7 @@ async function update (peertubeHelpers, transcodingManager, settingsManager) { } } - transcodingManager.addVODProfile(profile.encoderName, profile.profileName, builder) + transcodingManager.addLiveProfile(profile.encoderName, profile.profileName, builder) } } catch (err) { peertubeHelpers.logger.error('Cannot add profile settings.', { err, profilesString })