Yes, pursuant to the law, it is irrelevant in which medium (book, pictorial, homepage, app, film,…) a quotation is used. However, it is decisive that the quotation has an explanatory, informational or illustrative function, is covered in the scope of the purpose of the quote, is disclosed as a quote, and the source is specified (Art. 25 para. 2 CopA).