Mod Youtube

Started by FragaCampos, June 27, 2014, 05:50:43 PM

Previous topic - Next topic

FragaCampos

Vou fazer isso.
E decidi que vou ver os links um a um. São mais ou menos 2500 tópicos com links youube, mas assim aproveito para apagar os que têm links para vídeos inexistentes.
Digamos que é uma boa desculpa para fazer uma limpeza geral . ;)

margarett

Eh... Tinha um bugalho :P

Se quiseres não fazer isso tudo à mão :P experimenta o anexo ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

FragaCampos

Vou experimentar hoje à noite.
Obrigado mais uma vez.  ;)

FragaCampos

Ora bem...
A coisa parece ter corrido melhor, mas ainda há um problema.
Em alguns tópicos, se houver um url antes do vídeo do youtube, fica algo deste género:

Amazon: [url=http://www.amazon.com/Silent-Forest-Growing-Genetically-Engineered/dp/B002CGT0VA]http://www.amazon.com/Silent-Forest-Growing-Genetically-Engineered/dp/B002CGT0VA

http://www.youtube.com/watch?v=NUUYaTz0Brg#[/url]



Além disso, continuo com este problema.  :(


margarett

Sim, estou a ver o problema. Deixa-me chegar ao computador...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

margarett

Agora deve estar bom. Espero :P
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

FragaCampos

Não sei o que se passará, mas o script não mexe. :/
Os outros passavam de 50 em 50 mensagens, este fica no zero e não sai dali. Tens ideia do que poderá ser?

margarett

Hmmmm um bugalho? :P

Não sei, tenho de arranjar mais de 50 posts com links ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

FragaCampos


floyde

eu iria abri um tópico mais com esse ja esta aberto .
instalei esse mode Ohara YouTube Embed , mais no local do video fica tudo preto .
e depois instalei o aeva . mais ele nao funciona o https .. so funciona hattp e alguém sabe o que é?
grato

margarett

Sim, é conhecido do AEVA. A malta resolvia isso usando a censura de palavras para trocar https://youtube para http://youtube

Nota que o AEVA foi removido do modsite devido a um problema de segurança...

@FragaCampos... Esqueci-me de ti, foi? :P
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

floyde

mais instalei esse Ohara YouTube Embed .. mais fica tudo preto ,sabes o motivo ?
http://custom.simplemachines.org/mods/index.php?mod=3268


margarett

Lembro-me de ver alguns utilizadores a queixarem-se disso no tópico de suporte do MOD.
O próprio FragaCampos teve o mesmo problema e era outro MOD com um conflito de JavaScript qualquer

Quote from: FragaCampos on July 04, 2015, 08:56:14 PM
Thanks a lot for this tweak, Suki.
Although I would like to know what mod is using jquery instead of $ and causing this, it solved the black screen problem.

Kudos for your effort with this indispensable mod.

Quote from: Suki on June 28, 2015, 10:53:38 AM
You are using another mod which uses jquery with "jQuery" as the variable name, this mod (and SMF 2.1 too) uses "$".

You need to either change the other mod to use $ or replace all instance of $ with jQuery on the Themes/default/scripts/ohyoutube.min.js file file.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

floyde

#33
onde faço essa modificação ?
ou como fazer .
tenho esse mods pode mim forma qual desse pode ser


margarett

Não sei, nunca mexi nisso (e odeio JavaScript com todas as minhas forças :P )

Esperemos que o FragaCampos dê aqui uma mãozinha :)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

floyde

#35
pode mim índica algum mod que faz a mesma coisa?
grato!  o mod que causa conflito e esse SCEditor4smf 
desinstalei e volto ao normal mais eu preciso desse mod
se alguém tiver a solução agradeço

FragaCampos

A resposta para solucionar isto está na mensagem que o margarett deixou em cima:
"You need to either change the other mod to use $ or replace all instance of $ with jQuery on the Themes/default/scripts/ohyoutube.min.js file file."

Tens de ir a esse ficheiro em Themes/default/scripts/ohyoutube.min.js, editá-lo e substituir todas as ocorrências de $ por jQuery.
Salvas e pronto.

floyde

obrigado , resolvido
agradeço  ..
vcs estão de parabéns

Advertisement: