more logs
This commit is contained in:
@@ -210,7 +210,8 @@ class QuixoticApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async convertVideo(videoId: string, title: string, url: string): Promise<void> {
|
public async convertVideo(videoId: string, title: string, url: string): Promise<void> {
|
||||||
console.log('Convert video called:', { videoId, title, url });
|
console.log('🎵 CONVERT VIDEO CALLED:', { videoId, title, url });
|
||||||
|
console.log('🔧 Telegram WebApp available:', !!this.tg);
|
||||||
const videoElement = (event as any)?.currentTarget as HTMLElement;
|
const videoElement = (event as any)?.currentTarget as HTMLElement;
|
||||||
if (videoElement) {
|
if (videoElement) {
|
||||||
videoElement.classList.add('tg-list-item--converting');
|
videoElement.classList.add('tg-list-item--converting');
|
||||||
@@ -241,7 +242,8 @@ class QuixoticApp {
|
|||||||
|
|
||||||
if (data.audioUrl) {
|
if (data.audioUrl) {
|
||||||
// MP3 conversion successful!
|
// MP3 conversion successful!
|
||||||
console.log('MP3 conversion successful:', data.audioUrl);
|
console.log('🎉 MP3 conversion successful:', data.audioUrl);
|
||||||
|
console.log('🔧 About to send to Telegram, tg available:', !!this.tg);
|
||||||
|
|
||||||
if (this.tg) {
|
if (this.tg) {
|
||||||
// Send to Telegram chat
|
// Send to Telegram chat
|
||||||
|
|||||||
Reference in New Issue
Block a user