We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c01b1c4 commit f218e61Copy full SHA for f218e61
1 file changed
plugins/domains/documentcloud.org.js
@@ -38,7 +38,7 @@ export default {
38
try {
39
var iframe = oembed.getIframe();
40
// Embed expects title=1 to show, title=0 to hide (default is 1)
41
- var href = iframe.replaceQuerystring({ title: hideTitle ? 1 : 0 });
+ var href = hideTitle ? iframe.replaceQuerystring({ title: 0}) : iframe.src;
42
43
if (page && page !== '1') {
44
if (href) {
0 commit comments